Variable Hoisting
JavaScript Hoisting
With
const
, you cannot use a variable before it is declared.
Try to remove the
//
.
Display Variable