Join Slack
Powered by
Netsuite, and the other JS validator I use keep th...
# suitescript
x
XochisSketches
02/18/2020, 10:35 PM
Netsuite, and the other JS validator I use keep throwing an error about how there is no ":" after the key x.id
s
stalbert
02/19/2020, 12:45 AM
I don't think that's valid syntax for an object literal.
stalbert
02/19/2020, 12:45 AM
you could try something like
Copy code
var B = {} B[x.id] = x.param
Open in Slack
Previous
Next