JE::Object::Math(3pm)

πŸ“¦
version 0.066 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– JE::Object::Math β€” the JavaScript Math object, but make it Perl ✨

okay so bestie, you know how JavaScript has that whole Math thing? yeah. this is that. it's JE::Object::Math, a lil class from the JE universe (User Contributed Perl Documentation, for the record πŸ‘‘), and it is literally here to give you the JS Math object in Perl land. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

use JE;
use JE::Object::Math;

$j = new JE;

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

see? that's the whole vibe. you make a JE, you make a Math object off it, you go do math. slay. πŸ’…


✨ DESCRIPTION ✨

this class implements the JavaScript Math object. that's it. that's the whole job. it does the thing, it does it well, main character energy fr fr. πŸ¦‹


πŸ’œ METHODS πŸ’œ

okay so for most of the methods, go read JE::Types β€” it explains them all and it's iconic. we're only gonna talk about the ones that are specific to JE::Object::Math, because those are the ones with the lore. πŸ”₯

  • JE::Object::Math->new($global_obj) β€” creates a new Math object. brand new. fresh out the box. obsessed. ✨
  • value β€” ngl bestie, this one is not particularly useful. 😭 it returns a hash ref that is completely empty, unless you've gone and added your own properties to the object yourself. and like β€” heads up β€” this may change in a future release. so don't get too attached, okay? πŸ™ˆ
  • class β€” returns the string 'Math'. that's it. short, sweet, iconic. periodt. πŸ‘‘

🌈 SEE ALSO 🌈

go check these out, they're all part of the family:

  • JE
  • JE::Types
  • JE::Object
  • JE::Number

and that's the whole page, bestie!! πŸ’– this was JE::Object::Math from the perl v5.36.0 era, dated 2023-08-25 β€” yeah, a lil vintage, but she still eats. πŸ“ mwah, go do some math, you absolute icon. 🧚✨

πŸ“¦ where this page comes from