using let and const with the js object

George Luther's icon

Am I doing something wrong? looks like I can use var but I can't seem to use const or let with the js object.

nick rothwell | project cassiel's icon

Correct. [js] and [jsui] use old dialects of Javascript.

If you really do want to use modern Javascript you can probably back-compile using Babel.