Skip to content Skip to sidebar Skip to footer

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:

  1. Go to Project settings > Code Checking > JavaScript
  2. Expand the Validator Configuration panel
  3. Add "es6": true to the env object:
    "env": {
      "es6": true,
      "...": "..."
    },
    
    This will edit the internal .eslintrc file accordingly.
  4. Save the settings.

Post a Comment for "Sap Web Ide Shows Errors About Es6+ Features"