Andrew Wong Archives
RECENT
Immediately invoked function expressions (IIFE) in JavaScript
An immediately invoked function expression, or IIFE (pronounced iffy), is a function that is called immediately after...
Parsing JSON in JavaScript.
When developing web apps, you’ll often come across a data format known as JSON, or JavaScript Object...
About JavaScript’s “this” keyword.
Functions, objects, and the this keyword are all interconnected in JavaScript. When a function is called, a...
Closures in JavaScript.
A closure refers to the combination of a function and the lexical environment in which that function...