Skip to content

Remove reserved word "import" from variable names #4

@BlinkyStitt

Description

@BlinkyStitt

This is the same problem as using "class" as a variable name. You can't do that!

/Users/bwstitt/code/nmcsocks/lib/nmcresolver.js:198
var import = value.import.shift();
^^^^^^

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError:
at Module._compile (module.js:427:25)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (/Users/bwstitt/code/nmcsocks/lib/nmcsocks.js:6:16)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions