JSTAcademy
0 XP
Dashboard
Crash Courses
JavaScript Core Concepts
15 min
Basic+200 XP
Crash Courses · Basic

JavaScript Core Concepts

Closures, hoisting, event loop, promises
15 min read+200 XP on completionCert: Frontend Engineering
Tap any word in the text below to start reading from there.

# JavaScript Core Concepts

Closures

A function that retains access to its outer scope after the outer function returns.

Hoisting

var and function declarations are hoisted. let and const are in the temporal dead zone until declared.

Event Loop

Call stack runs synchronous code. Microtask queue (Promises) drains next. Macrotask queue (setTimeout) runs after.

0%