pages: update doc not to refer to Otto (#21708)

This commit is contained in:
Guillaume Ballet 2020-10-15 19:52:54 +02:00 committed by GitHub
parent 16720c15da
commit 8db1192e1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -64,12 +64,9 @@ You can exit the console by typing `exit` or simply with `CTRL-C`.
## Caveats
go-ethereum uses the [Otto JS VM](https://github.com/robertkrimen/otto) which has some
limitations:
go-ethereum now uses the [GoJa JS VM](https://github.com/dop251/goja) which is compatible with ECMAScript 5.1. There are some limitations though:
* `"use strict"` will parse, but does nothing.
* The regular expression engine (re2/regexp) is not fully compatible with the ECMA5
specification.
* Promises and `async` won't work.
`web3.js` uses the [`bignumber.js`](https://github.com/MikeMcl/bignumber.js) library.
This library is auto-loaded into the console.