Changes for version 0.043

  • New features: • New date methods (Date is now complete): setUTCSeconds, setUTCMinutes, setUTCHours, setUTCDate, setUTCMonth, set- FullYear and setUTCFullYear • Regular expressions can now be called as functions (RT #55405). Bug fixes: • toFixed no longer ignores its arguments. • toFixed and toExponential now round away from zero a value that is half way between the two values it could be rounded to. • toExponential used always to assume that it was passed a 0 as its only argument. • Various fixes for toPrecision: • It no longer dies with non-zero numbers between 0 and 1 or negative numbers when passed an argument. • It no longer leaves an extra trailing zero when using exponential notation. • It now always includes a decimal point in exponen- tial notation. • Math.sqrt(-Infinity) now returns NaN, not Infinity. • setMinutes no longer identifies itself as setHours when it dies (‘setHours cannot be called on an object of type...’). • I must have been half asleep when I re-read the spec for character classes in July last year. I’ve now reverted the change to /[]/, so it is once more equivalent to /(?!)/, in accordance with the spec (which 0.022 wasn’t). • Math.atan2 with two infinite arguments now works on Windows. • Math.pow(NaN,0) now works on Windows.

Documentation

JavaScript types and objects

Modules

JE
Pure-Perl ECMAScript (JavaScript) Engine
JavaScript boolean value
ECMAScript parser and code executor for JE
JavaScript lvalue class
JavaScript null value
JavaScript number value
Base class for all JavaScript objects
JavaScript Array object class
JavaScript Boolean object class
JavaScript Date object class
JavaScript Error object class
JavaScript RangeError object class
JavaScript ReferenceError object class
JavaScript SyntaxError object class
JavaScript TypeError object class
JavaScript URIError object class
JavaScript function class
JavaScript Math object
JavaScript Number object class
JS wrapper for Perl objects
JavaScript regular expression (RegExp object) class
JavaScript String object class
Framework for customising JE's parser
JavaScript scope chain (what makes closures work)
JavaScript string value
JavaScript undefined value
This module is solely for JE's private use.
Pure-Perl ECMAScript (JavaScript) engine

Provides

in lib/JE/Code.pm
in lib/JE/Code.pm
in lib/JE/Code.pm
in lib/JE/Code.pm
in lib/JE/Object/Function.pm
in lib/JE/Object/Function.pm
in lib/JE/Object/Proxy.pm