wiitohzjeh
wiitohzjeh

Reputation: 347

SyntaxError: missing name after . operator

I'm stuck with a problem that i can not use YUIcompressor to minify a file, the script runs without problems, but returns the error missing name after . operator in the line 3 of this script:

exactly in: "+ source.response.chars[k].name +"

im out of ideas, the scripts seems work, and no are any problem.

Upvotes: 3

Views: 5656

Answers (1)

wiitohzjeh
wiitohzjeh

Reputation: 347

The problem are on "+source.response.chars[k].class+" not in "+ source.response.chars[k].name +", class is a reserved name.

Upvotes: 3

Related Questions