Wednesday, May 17, 2017

What is the JAVA Script number?

JavaScript Numbers

JavaScript has only one type of number.
Numbers can be written with, or without, decimals:

Example:-

var x = 3.14;     // A number with decimals var y = 34;       // A number without decimals

No comments:

Post a Comment