2 ms·
These features are good (except I think Function.prototype.toString is a mistake). (An alternative to String.prototype.trimStart would be to use String.prototy
by zzo38computer 7y ago
These features are good (except I think Function.prototype.toString is a mistake).
(An alternative to String.prototype.trimStart would be to use String.prototype.replace, although trimStart would probably be more efficient.) Still some things missing includes: a goto command, ability to disable automatic semicolon insertion, macros, enhanced regular expressions, and a built-in regular expression quotation function (it is easily enough to implement in JavaScript, but it seem to me the kind of thing that should be built-in).