Skip to content

Const declaration in strict mode #1077

@Starillusion

Description

@Starillusion

Your libraries all seem to to declare 'use strict' then declare variables (directly afterwards!) with 'const'.
This is causing my server application to crash with this error: "SyntaxError: Use of const in strict mode"
There's also a library or two that use the word "class". Node.JS does not like this and throws an error " reserved word". I don't know if other users are having problems with this, but please create a branch with the problems I listed above fixed (replace 'const' declarations with 'var', or figure out how to not have to use strict mode in your libraries.) I hope this fixes other users' problems along with mine....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions