DEV Community

Cover image for Easy Math in Javascript

Easy Math in Javascript

Eckehard on February 08, 2024

Javascript provides a Math-object, that covers a broad range of useful constants and functions. However, sometimes it may happen, your are missing ...
Collapse
 
artydev profile image
artydev

Thank you Eckehard :-)

Collapse
 
lionelrowe profile image
lionel-rowe
Collapse
 
efpage profile image
Eckehard

Extending Math can be scoped, so I do not expect any trouble. Even destructuring should not cause more trouble than other naming conflicts. But you are perfectly true not to use it in libraries.

Collapse
 
poetryofcode profile image
Poetry Of Code

Very helpful!

Collapse
 
engrsakib profile image
Md Nazmus Sakib

Thanks