SublimeText-Nodejs icon indicating copy to clipboard operation
SublimeText-Nodejs copied to clipboard

UglifyJS -> Unexpected token: operator (>)

Open Sir-Will opened this issue 7 years ago • 2 comments

I installed this package via the package manager and then I tried to run the UglifyJS on my .js file and got this error:

undefined:1625

    throw new JS_Parse_Error(message, filename, line, col, pos);

    ^

SyntaxError: Unexpected token: operator (>)

Caused by this:

things.forEach(entry => {
});

Sir-Will avatar Jan 30 '18 20:01 Sir-Will

Accepted

varp avatar Feb 05 '18 05:02 varp

I’ll fix on the coming weekend

varp avatar Mar 23 '18 03:03 varp