Closed Bookcliff closed 2 years ago
Use const by default (denote that the variable is assigned the value and cannot be changed) Use let within loops (can be reassigned on each iteration)
const newVar = 123;
let newVar = 123;
Primitive data types: string, number, bigint, boolean, symbol, undefined, null
Primitive data types: string, number, bigint, boolean, symbol, undefined
Is null
one as well?