#Closures
4 notas · última:
A visual guide to React mental models
The article argues that React becomes easier to work with when you model components as boxes, props as arguments, closures as scoped access, and state as the part that persists across renders.
Essential JavaScript Interview Questions
A list of JavaScript interview prompts covering scope, hoisting, strict mode, coercion, closures, recursion, async timing, and DOM traversal, with no answers shown in the captured text.
Closures: Elixir vs. Ruby vs. JavaScript
The page compares closure behavior in JavaScript, Ruby, and Elixir. JavaScript shows side effects from mutable state, Ruby is safer with iterators but not perfect, and Elixir benefits from immutability.
Connection Speed Detection with Javascript
The article shows how to estimate a user’s connection speed in JavaScript by timing an image load, first with one test and then with several trials to average the result.
