on 02-22-2018 11:37 AM
which version of javascript is supported in sapui5?
Why am I not able to use "let" keyword in sapui5?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.