You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The const keyword was never introduced in the ES5 specification as it is first introduced in the specification ECMAScript 2015 Edition (ES6). Since the underlying calmjs.parse library has no support for ES6 and above as of now and crimp was only provided as a helper replacement for slimit (which also don't have ES2015 (ES6) support), this would be an open issue until ES2015 (ES6) support is added. ES2015 support is tracked via calmjs/calmjs.parse#15.
metatoaster
changed the title
Crimp is unable to parse 'const' variable declarations
Crimp is unable to parse 'const' variable (or other ES2015 or later) declarations
Apr 18, 2021
I'm not allowed to use
const
variable declarations for some reason:The text was updated successfully, but these errors were encountered: