diff --git a/README.md b/README.md index 81de291..580704c 100644 --- a/README.md +++ b/README.md @@ -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`. @@ -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, }