Difference in using var and let

I just want to know what is the difference between var and let
var vacationSpot = “LasVegas”;
let vacationSpot = “LasVegas”;

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.