1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00

Add Number.toExponential

This commit is contained in:
Robert Krimen
2013-03-07 08:34:12 -08:00
parent 2e7e3e17fd
commit e5f0da1420
5 changed files with 29 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ For more information: http://github.com/robertkrimen/otto/tree/master/underscore
* For now, otto is a hybrid ECMA3/ECMA5 interpreter. Parts of the specification are still works in progress.
* For example, "use strict" will parse, but does nothing.
* Error reporting needs to be improved.
* Number.prototype.{toExponential,toPrecision} are missing.
* Number.prototype.{toPrecision} are missing.
* Does not support the (?!) or (?=) regular expression syntax (because Go does not)
* JavaScript considers a vertical tab (\000B <VT>) to be part of the whitespace class (\s), while RE2 does not.
* Really, error reporting could use some improvement.