mirror of
https://github.com/robertkrimen/otto
synced 2025-10-26 20:28:49 +08:00
Add Number.toFixed
This commit is contained in:
2
otto.go
2
otto.go
@@ -85,7 +85,7 @@ Caveat Emptor
|
||||
* 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.{toFixed,toExponential,toPrecision} are missing.
|
||||
* Number.prototype.{toExponential,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.
|
||||
|
||||
Reference in New Issue
Block a user