const keywords. The
var keyword is the older version of declaring a variable while
const are the modern versions.
let message = "Hello, World!";
In this example, we're creating a variable called
message and assigning it the value
"Hello, World!". The
let keyword is used to declare the variable, followed by the variable name (
message), and then the value that we're assigning.
myArray and assign it an array of numbers:
let myArray = [1, 2, 3, 4, 5];