Can anybody help?
Tab 1, chrome console, website: localhost:8080 (java application)
var test = {
rowAttrs: ["asdf","asdf"]
}
JSON.parse(JSON.stringify(test))
Result (unexpected):
Object {rowAttrs: "["asdf", "asdf"]"}
Tab 2, chrome console, website: any
var test = {
rowAttrs: ["asdf","asdf"]
}
JSON.parse(JSON.stringify(test))
Result (as expected):
Object {rowAttrs: Array[2]}