flexxui / pscript

Python to JavaScript compiler
http://pscript.readthedocs.io
BSD 2-Clause "Simplified" License
260 stars 25 forks source link

JavaScript set #24

Open jakirkham opened 6 years ago

jakirkham commented 6 years ago

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

almarklein commented 6 years ago

Oh browser compatibility seems really good. I was not aware of that! :)