From 8db1192e1ad7bfed839dd75376ebd7bda9629894 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Thu, 15 Oct 2020 19:52:54 +0200 Subject: [PATCH] pages: update doc not to refer to Otto (#21708) --- docs/_interface/JavaScript-Console.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/_interface/JavaScript-Console.md b/docs/_interface/JavaScript-Console.md index cd4633fc1c..dd16144206 100644 --- a/docs/_interface/JavaScript-Console.md +++ b/docs/_interface/JavaScript-Console.md @@ -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.