We want to declare a distance
constant and initialize it with the value 120
. What should such a declaration look like?
const distance = 120;
const distance; distance = 120;
let distance; const distance = 120;
let constant distance = 120;
Answers Explanation & Hints:
In JavaScript, when declaring a constant using the |