JavaScript
Variables, functions, arrays, objects, DOM, async
99 simulators found.
JavaScript var let const Demo
JavaScript var let const Demo — interactive visual simulator with step-by-step explanation and exam answer format.
JavaScript Function Execution
JavaScript Function Execution — interactive visual simulator with step-by-step explanation and exam answer format.
JavaScript Array Methods Visualizer
JavaScript Array Methods Visualizer — interactive visual simulator with step-by-step explanation and exam answer format.
JavaScript Object Visualizer
JavaScript Object Visualizer — interactive visual simulator with step-by-step explanation and exam answer format.
DOM Manipulation Demo
DOM Manipulation Demo — interactive visual simulator with step-by-step explanation and exam answer format.
Event Handling Demo
Event Handling Demo — interactive visual simulator with step-by-step explanation and exam answer format.
Promise Async Await Flow
Promise Async Await Flow — interactive visual simulator with step-by-step explanation and exam answer format.
JavaScript Closures
Functions that remember their outer scope.
JavaScript Hoisting
var vs let/const declaration hoisting and the TDZ.
JavaScript this Keyword
What this refers to in different contexts.
JavaScript Spread and Rest
The ... operator for expanding and collecting.
JavaScript Destructuring
Unpack arrays and objects into variables.
JavaScript Higher-Order Functions
map, filter and reduce chains.
JavaScript Event Loop
Sync code, microtasks and macrotasks ordering.
JavaScript JSON parse and stringify
Convert between objects and JSON strings.
JavaScript Promises
Pending, fulfilled and rejected states.
JavaScript reduce Deep Dive
Fold an array to a single value with an accumulator.
typeof Operator
typeof Operator — interactive JavaScript simulator with code, console output and how-to-run.
== vs ===
== vs === — interactive JavaScript simulator with code, console output and how-to-run.
Truthy and Falsy
Truthy and Falsy — interactive JavaScript simulator with code, console output and how-to-run.
Nullish Coalescing ??
Nullish Coalescing ?? — interactive JavaScript simulator with code, console output and how-to-run.
Optional Chaining ?.
Optional Chaining ?. — interactive JavaScript simulator with code, console output and how-to-run.
Ternary Operator
Ternary Operator — interactive JavaScript simulator with code, console output and how-to-run.
Number Methods
Number Methods — interactive JavaScript simulator with code, console output and how-to-run.
Math Object
Math Object — interactive JavaScript simulator with code, console output and how-to-run.
Template Literals
Template Literals — interactive JavaScript simulator with code, console output and how-to-run.
String Methods
String Methods — interactive JavaScript simulator with code, console output and how-to-run.
Type Conversion
Type Conversion — interactive JavaScript simulator with code, console output and how-to-run.
Assignment Operators
Assignment Operators — interactive JavaScript simulator with code, console output and how-to-run.
Spread in Arrays
Spread in Arrays — interactive JavaScript simulator with code, console output and how-to-run.
Logical Short-circuit
Logical Short-circuit — interactive JavaScript simulator with code, console output and how-to-run.
push pop shift unshift
push pop shift unshift — interactive JavaScript simulator with code, console output and how-to-run.
Array slice
Array slice — interactive JavaScript simulator with code, console output and how-to-run.
Array splice
Array splice — interactive JavaScript simulator with code, console output and how-to-run.
indexOf and includes
indexOf and includes — interactive JavaScript simulator with code, console output and how-to-run.
find and findIndex
find and findIndex — interactive JavaScript simulator with code, console output and how-to-run.
some and every
some and every — interactive JavaScript simulator with code, console output and how-to-run.
Array sort
Array sort — interactive JavaScript simulator with code, console output and how-to-run.
Array reverse
Array reverse — interactive JavaScript simulator with code, console output and how-to-run.
join and split
join and split — interactive JavaScript simulator with code, console output and how-to-run.
Array concat
Array concat — interactive JavaScript simulator with code, console output and how-to-run.
flat and flatMap
flat and flatMap — interactive JavaScript simulator with code, console output and how-to-run.
Array.from
Array.from — interactive JavaScript simulator with code, console output and how-to-run.
Array of and fill
Array of and fill — interactive JavaScript simulator with code, console output and how-to-run.
forEach
forEach — interactive JavaScript simulator with code, console output and how-to-run.
map Transform
map Transform — interactive JavaScript simulator with code, console output and how-to-run.
filter
filter — interactive JavaScript simulator with code, console output and how-to-run.
Object Literals
Object Literals — interactive JavaScript simulator with code, console output and how-to-run.
Object keys values entries
Object keys values entries — interactive JavaScript simulator with code, console output and how-to-run.
Object Destructuring
Object Destructuring — interactive JavaScript simulator with code, console output and how-to-run.
Object Spread
Object Spread — interactive JavaScript simulator with code, console output and how-to-run.
Object.assign
Object.assign — interactive JavaScript simulator with code, console output and how-to-run.
Object.freeze
Object.freeze — interactive JavaScript simulator with code, console output and how-to-run.
Computed Property Names
Computed Property Names — interactive JavaScript simulator with code, console output and how-to-run.
Getters and Setters
Getters and Setters — interactive JavaScript simulator with code, console output and how-to-run.
Map
Map — interactive JavaScript simulator with code, console output and how-to-run.
Set
Set — interactive JavaScript simulator with code, console output and how-to-run.
JSON Deep Clone
JSON Deep Clone — interactive JavaScript simulator with code, console output and how-to-run.
Reference vs Value
Reference vs Value — interactive JavaScript simulator with code, console output and how-to-run.
Declaration vs Expression
Declaration vs Expression — interactive JavaScript simulator with code, console output and how-to-run.
Arrow Functions
Arrow Functions — interactive JavaScript simulator with code, console output and how-to-run.
Default Parameters
Default Parameters — interactive JavaScript simulator with code, console output and how-to-run.
Rest Parameters
Rest Parameters — interactive JavaScript simulator with code, console output and how-to-run.
Callback Functions
Callback Functions — interactive JavaScript simulator with code, console output and how-to-run.
IIFE
IIFE — interactive JavaScript simulator with code, console output and how-to-run.
Recursion
Recursion — interactive JavaScript simulator with code, console output and how-to-run.
Currying
Currying — interactive JavaScript simulator with code, console output and how-to-run.
arguments Object
arguments Object — interactive JavaScript simulator with code, console output and how-to-run.
Higher-Order Functions
Higher-Order Functions — interactive JavaScript simulator with code, console output and how-to-run.
bind call apply
bind call apply — interactive JavaScript simulator with code, console output and how-to-run.
Pure Functions
Pure Functions — interactive JavaScript simulator with code, console output and how-to-run.
Class Declaration
Class Declaration — interactive JavaScript simulator with code, console output and how-to-run.
Class Constructor
Class Constructor — interactive JavaScript simulator with code, console output and how-to-run.
Class Methods
Class Methods — interactive JavaScript simulator with code, console output and how-to-run.
Class Inheritance
Class Inheritance — interactive JavaScript simulator with code, console output and how-to-run.
Static Methods
Static Methods — interactive JavaScript simulator with code, console output and how-to-run.
Class Getters
Class Getters — interactive JavaScript simulator with code, console output and how-to-run.
Private Fields
Private Fields — interactive JavaScript simulator with code, console output and how-to-run.
instanceof
instanceof — interactive JavaScript simulator with code, console output and how-to-run.
Symbol
Symbol — interactive JavaScript simulator with code, console output and how-to-run.
Iterator Protocol
Iterator Protocol — interactive JavaScript simulator with code, console output and how-to-run.
Generator Functions
Generator Functions — interactive JavaScript simulator with code, console output and how-to-run.
Modules import export
Modules import export — interactive JavaScript simulator with code, console output and how-to-run.
setTimeout
setTimeout — interactive JavaScript simulator with code, console output and how-to-run.
setInterval
setInterval — interactive JavaScript simulator with code, console output and how-to-run.
async await
async await — interactive JavaScript simulator with code, console output and how-to-run.
Promise.all
Promise.all — interactive JavaScript simulator with code, console output and how-to-run.
Promise.race
Promise.race — interactive JavaScript simulator with code, console output and how-to-run.
fetch API
fetch API — interactive JavaScript simulator with code, console output and how-to-run.
querySelector
querySelector — interactive JavaScript simulator with code, console output and how-to-run.
createElement appendChild
createElement appendChild — interactive JavaScript simulator with code, console output and how-to-run.
addEventListener
addEventListener — interactive JavaScript simulator with code, console output and how-to-run.
Event Object preventDefault
Event Object preventDefault — interactive JavaScript simulator with code, console output and how-to-run.
Event Delegation
Event Delegation — interactive JavaScript simulator with code, console output and how-to-run.
classList
classList — interactive JavaScript simulator with code, console output and how-to-run.
innerHTML vs textContent
innerHTML vs textContent — interactive JavaScript simulator with code, console output and how-to-run.
element.style
element.style — interactive JavaScript simulator with code, console output and how-to-run.
localStorage
localStorage — interactive JavaScript simulator with code, console output and how-to-run.
Regular Expressions
Regular Expressions — interactive JavaScript simulator with code, console output and how-to-run.