I have an array that I am taking from backend that is like
["[a,b,c],[c,d,e],[e,f,g]"]
I am taking this array in
<div id="op1">{{$option}}</div> 
now I want to add more items into it when I access it in javascript using
document.getElementById('op1').innerHTML 
and add this into an array
var options=[document.getElementById('op1').innerHTML];
and when I print it using
console.log(options)
it shows me
["[a,b,c],[b,c,d],[e,f,g]"]
type of array other than
[[a,b,c],[b,c,d],[e,f,g]]   
so how I can get this type of array and more items into it.
 
     
     
    