can we access nested object property in NetSuite u...
# suitescript
s
can we access nested object property in NetSuite using SuiteScript? I want to access reqBody[‘accountDescriptorList’] but it’s coming as undefined
s
Those aren't the same thing, you are logging the
[0]
property from that objet, which doesnt exist
s
message has been deleted
res is working as expected in Repl Javascript,but in NS this is undefined
b
whats the code you are using in netsuite
actual text of the code, not a screenshot of code
s
got it worked after using JSON.parse
thanks