Ubuntu Manpages

JE::Object::Math

JavaScript Math object

  use JE;
  use JE::Object::Math;
  $j = new JE;
  $math_obj = new JE::Object::Math $j;

This class implements the JavaScript Math object.

See JE::Types for descriptions of most of the methods. Only what is specific to JE::Object::Math is explained here.

Creates a new Math object.
Not particularly useful. Returns a hash ref that is completely empty, unless you've added your own properties to the object. This may change in a future release.
Returns the string 'Math'