How to convert below string to array in Javascript? The reason is that I want to take both value separately. The string is value from an element, when I print it to console I got:('UYHN7687YTF09IIK762220G6','Second')
var data = elm.value;
console.log(data);