EasyConceptJavaScript
What is the difference between var, let and const?
What a good answer covers
var is function-scoped, hoisted and initialised as undefined, and can be redeclared. let and const are block-scoped and live in the temporal dead zone until declared. const prevents reassignment of the binding, not mutation of the object it holds.
PreviousYour SPA shows stale content after a deploy because a service worker caches old files. What do you do?Next What is the difference between == and ===?