6 ms·
const. I always use const and if I need to mutate a variable, then let. var is pretty much just for legacy codes. Yes, it has unique behaviors, but better sti
by kowdermeister 8y ago
const. I always use const and if I need to mutate a variable, then let.
var is pretty much just for legacy codes. Yes, it has unique behaviors, but better stick to the new keywords, can prevent some headaches.