explode array inside string javascript
var getValue = '["1","2"]';
var obj = JSON.parse(getValue) //obj is now ["1", "2"]
Are there any code examples left?
New code examples in category Javascript
var getValue = '["1","2"]';
var obj = JSON.parse(getValue) //obj is now ["1", "2"]