One of the newest (relatively…) and more powerful feature of OpenSCAD is list comprehensions.
At the moment, they don't work in OpenJSCAD when using OpenSCAD code, and give weird error messages in the interface.
I have updated the Direct OpenSCAD Source Import doc section to reflect that they are note supported, as a lot of great OpenSCAD designs have incorporated them since a couple of years.
Copied from original issue: Spiritdude/OpenJSCAD.org#162
From @juliendorra on July 25, 2016 22:44
One of the newest (relatively…) and more powerful feature of OpenSCAD is list comprehensions.
At the moment, they don't work in OpenJSCAD when using OpenSCAD code, and give weird error messages in the interface.
I have updated the Direct OpenSCAD Source Import doc section to reflect that they are note supported, as a lot of great OpenSCAD designs have incorporated them since a couple of years.
Copied from original issue: Spiritdude/OpenJSCAD.org#162