Home >Web Front-end >JS Tutorial >Js in bits - (datatypes - Number)

Js in bits - (datatypes - Number)

DDD
DDDOriginal
2024-12-30 12:30:09756browse

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

datatypes

Number

Following comes under number datatype

Js in bits - (datatypes - Number)

Special -> Infinity -Infinity NaN

Js in bits - (datatypes - Number)

NaN -> sticky. Any operation with Nan gives NaN

Js in bits - (datatypes - Number)

Except:

Js in bits - (datatypes - Number)

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

Leave y'r thoughts....

The above is the detailed content of Js in bits - (datatypes - Number). For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn