Skip to content

"this" is not highlighted at the top level #610

Closed
@tandrewnichols

Description

@tandrewnichols

Highlighting for this works fine inside a function, but at the top level it has no highlighting. E.g.

this.foo = 'blah'; // <-- no highlighting on "this"

exports.bar = function() {
  this.bar = 'hey'; <-- "this" is highlighted correctly
};

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