DEV Community

Avinashd
Avinashd

Posted on

Js in bits - 5.1(datatypes - Number)

Learning js should be fun. It is fun if it's easy.
I tried my best in writing this, to understand it the easy way.

datatypes

Number

Following comes under number datatype

Image description

Special -> Infinity -Infinity NaN

Image description

NaN -> sticky. Any operation with Nan gives NaN

Image description

Except:

Image description

Here 2**0 represents 2 power 0.
** -> exponentiation.

Leave y'r thoughts....

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay