Sap Web Ide Shows Errors About Es6+ Features
for (var items in _selectedContexts) { var downloadModel = __parsed[__parsed[items].toString().split('/')[1]][__parsed[items].toString().split('/')[2]]; var length = downloadMo
Solution 1:
Yes, you can ignore the message as long as your target browser supports the object. Uint8Array
was added to a somewhat newer JS specification (ECMAScript 2015 aka. ES6). In order to make Web IDE understand and parse ES6, add es6
to the eslint environment settings:
- Go to Project settings > Code Checking > JavaScript
- Expand the Validator Configuration panel
- Add
"es6": true
to theenv
object:
This will edit the internal"env": { "es6": true, "...": "..." },
.eslintrc
file accordingly. - Save the settings.
Post a Comment for "Sap Web Ide Shows Errors About Es6+ Features"