Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to convert array converted to string back to array javasccript

var array = '[[1, 2, 3], [4, 5, 6]]';
JSON.parse(array);
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #convert #array #converted #string #array #javasccript
ADD COMMENT
Topic
Name
4+1 =