Skip to content

Commit

Permalink
[[DOCS]] Document new esversion values
Browse files Browse the repository at this point in the history
  • Loading branch information
jugglinmike authored and rwaldron committed Jan 31, 2019
1 parent aded551 commit 90904ce
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,16 @@ exports.val = {
* - `6` - To tell JSHint that your code uses [ECMAScript
* 6](http://www.ecma-international.org/ecma-262/6.0/index.html) specific
* syntax. Note that not all browsers implement them.
* - `7` - To enable language features introduced by [ECMAScript
* 7](https://www.ecma-international.org/ecma-262/7.0/index.html). Notable
* additions: the exponentiation operator.
* - `8` - To enable language features introduced by [ECMAScript
* 8](https://www.ecma-international.org/ecma-262/8.0/index.html). Notable
* additions: async functions, shared memory, and atomics
* - `9` - To enable language features introduced by [ECMAScript
* 9](https://www.ecma-international.org/ecma-262/9.0/index.html). Notable
* additions: asynchronous iteration, rest/spread properties, and various
* RegExp extensions
*/
esversion: 5
};
Expand Down

0 comments on commit 90904ce

Please sign in to comment.