Today I Learned - Rocky Kev

Tagged “interview-questions”

  1. TIL setTimeout, blocks, closure

    setTimeout is creating a closure function. More importantly, vars get yoinked by closure, where lets create their own block scope.

See all tags.