JavaScript summary
This is very good post series about JS under the hood: JS Engine & async programming
var vs let
var
is scoped to the nearest function block
let
is scoped to the nearest enclosing block
This is very good post series about JS under the hood: JS Engine & async programming
var vs let
var
is scoped to the nearest function block
let
is scoped to the nearest enclosing block