I am using eclipse Luna Release (4.4.0), but it throw's an error when i declare varibale in .js file by let but fine with var
let x =10; it throw's an error
syntax error on token
but var x = 10;
is fine.
I am using eclipse Luna Release (4.4.0), but it throw's an error when i declare varibale in .js file by let but fine with var
let x =10; it throw's an error
syntax error on token
but var x = 10;
is fine.
are you using the "use strict" ?
Also are you removing the eclipse validations?