Why Am I Getting Errors With Const Here R Learnjavascript

Why Am I Getting Errors With Const Here R Learnjavascript