DOKK / manpages / debian 12 / libje-perl / JE::Object::Math.3pm.en
JE::Object::Math(3pm) User Contributed Perl Documentation JE::Object::Math(3pm)

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'

2022-11-19 perl v5.36.0