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

0

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

0

请先登录再写评论。