Learn JavaScript
Lesson 1 - Introduction To JavaScript
Lesson 2 - Basic JavaScript Syntax
Lesson 3 - Control Flow
Lesson 4 - Functions
Lesson 6 - Basic String Operations
Lesson 7 - Basic Array Operations
Lesson 8 - Exception Handling
Lesson 9 - Packages
Lesson 10 - User Input
Numbers in JavaScript can be integers or floating-point numbers. However, unlike other programming languages, you don't need to specify the data type like integer
or float
.
Declaring numbers is very easy in JavaScript:
let x = 5; let y = 3.14; console.log(x); console.log(y);