Hi,
I am trying to run the following in Function Node. I am not sure why the Set Object is empty
const s = new Set()
s.add(1)
s.add(2)
s.add(4)
return [{"json":{"set":s}}]
This is what it returns
[
{
"set": {
}
}
]
Hi,
I am trying to run the following in Function Node. I am not sure why the Set Object is empty
const s = new Set()
s.add(1)
s.add(2)
s.add(4)
return [{"json":{"set":s}}]
This is what it returns
[
{
"set": {
}
}
]
it solved my issue. Thank you