is "as" a keyword in javascript?

going through some code where the author used "as" as a variable name... webstorm flags it as an error

what's up with this? is "as" a keyword in javascript?

thanks

1 comment

Try changing JavaScript language version (Settings/JavaScript) from EcmaScript6 to, e.g. EcmaScript 5.1 - this should solve the problem

0

Please sign in to leave a comment.