In the docs, it says set is unsupported because JavaScript doesn't have one. Though it looks like Set was added to ES6 as noted in this SO answer. Not sure what version of JavaScript is being targeted by PScript, but maybe this is an option.
ref: http://pscript.readthedocs.io/en/latest/intro.html#support
In the docs, it says
setis unsupported because JavaScript doesn't have one. Though it looks likeSetwas added to ES6 as noted in this SO answer. Not sure what version of JavaScript is being targeted by PScript, but maybe this is an option.ref: http://pscript.readthedocs.io/en/latest/intro.html#support