Hi,
As for the console error, you need to right click the js file or the project folder and go to "project settings" and then look at the attached image - project-settings.png.
As for the "let" keyword in that same place, under "Validator Configuration" you need to add to "env" the following - "es6": true - see attached image project-settings2.png.
Hi Shweta,
Where exactly are you getting the error in using the let keyword ?
Are you using an older browser version ?
I am successfully able to use it using Web IDE.
Thanks,
Vaibhav
Its working. But my controller is red marked and complaining that this keyword is reserved for the future uses. I am using google chrome latest version - Version 64.0.3282.186 (Official Build) (64-bit) as far as I know. Even usually if I use console.error or log I get red mark while I can see you get only warning.
Thanks,
Shweta
Thank you, It worked for me , but I am noticing the red mark on file name. Can we get it removed. I have attached the file.
Add comment