Skip to content

Commit

Permalink
[Update] Modify README
Browse files Browse the repository at this point in the history
  • Loading branch information
Siubaak committed Apr 17, 2019
1 parent a5ce2d9 commit bcc4f70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -6,7 +6,7 @@

A JavaScript interpreter writen in JavaScript, based on parser [Acorn](https://github.com/acornjs/acorn).

- **Running on ES5, supporting ES5/6/7/8 full features**
- **Running on ES5, supporting ES5/6/7/8/9/10 full features**
- **Both invasived and sandbox modes available**

It's useful to evaluate the code of higher ECMAScript editions, or for the environment with disabled `eval`, `setTimeout` and `new Function`.
Expand Down Expand Up @@ -38,8 +38,8 @@ import Sval from 'sval'

// Sval options
const options = {
// ECMA Version of the code (5 | 6 | 7 | 8 | 2015 | 2016 | 2017)
ecmaVer: 7,
// ECMA Version of the code (5 | 6 | 7 | 8 | 9 | 10 | 2015 | 2016 | 2017 | 2018 | 2019)
ecmaVer: 9,
// Whether the code runs in a sandbox
sandBox: true,
}
Expand Down

0 comments on commit bcc4f70

Please sign in to comment.