Skip to content

"Bad request" issue when uploading: Use of reserved words as object properties #56

@brainysmurf

Description

@brainysmurf

In node, the following js does not result in any errors:

obj = {};
obj.const = {};
obj = {};
obj.function = {};

However, in App Script it does. Line 2 in both examples would generate error "Missing name after . operator" in apps script online editor. Nor is this detected in any linters. Unexpected consequence is that we get "Bad Error" when attempting to upload.

Documenting for reference; the problem really isn't with this package. Hopefully documenting here may save hours of head-scratching.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions