Answers for "explode array inside string javascript"

0

explode array inside string javascript

var getValue = '["1","2"]';
var obj = JSON.parse(getValue) //obj is now ["1", "2"]
Posted by: Guest on May-12-2021

Code answers related to "explode array inside string javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language