Welcome to the world of numbers in JavaScript! Numbers are one of the most fundamental data types. They can represent whole numbers like 42, floating-point numbers like 3.14, and even negative numbers like -7.
Numbers can also be used with basic arithmetic operators:
Run the code sample for an example.
Output (Console)