What version of Javascript?
I'm pretty new to Javascript. I'm looking for general programming resources.
Could someone say which version of Javascript lensstudio uses? Is it ECMAScript 2015? Or, do versions stay close enough that I really don't need to worry about it.
Is there a method that will return the version in a .js script?
It is mostly ECMAScript 2015. However Lens Studio does not support everything you would regularly find. Like "setTimeout" for instance is not supported. setTimeout is actually window.setTimeout if you are using front end js which explains why it doesn't exist in LS probably was never added.
Hi Robert, Lens Studio uses the ES5 version of Javascript. Hope that helps!