Skip to content

use of reserved word as variable name #11

Description

@retrogradeorbit

The use of the variable name 'byte' causes google closure compiler to refuse to compile the source.

Google closure compiler exits with:

ERROR: JSC_PARSE_ERROR. Parse error. identifier is a reserved word at ./node_modules/js-binarypack/lib/binarypack.js line 111 : 6
ERROR: JSC_PARSE_ERROR. Parse error. identifier is a reserved word at ./node_modules/js-binarypack/lib/binarypack.js line 113 : 9

Attached a PR removing the use of a temporary variable entirely. #12

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