Learn JavaScript with uByte
Learn JavaScript programming for free with uByte. Interactive JS tutorials for beginners — write and run real code in your browser.
All Tutorials
Getting Started with JavaScript
Write your first JavaScript program, learn console.log, and understand how JS runs.
Variables & Types
let, const, dynamic typing, typeof, string methods, and type conversion in JavaScript.
Console & Formatting
console.log, template literals, toFixed, and string building in JavaScript.
Control Flow
if/else, ternary, nullish coalescing, and switch in JavaScript.
Loops
for, while, for...of, and forEach in JavaScript.
Arrays
Creating, slicing, mapping, and filtering arrays in JavaScript.
Objects & Maps
Plain objects, Map, and Set in JavaScript.
Functions
Function declarations, arrow functions, default params, and closures in JavaScript.
References & Closures
How JavaScript passes primitives by value and objects by reference.
Classes & Objects
ES6 classes, constructors, inheritance, and private fields in JavaScript.
Methods
Instance methods, static methods, getters, and setters in JavaScript.
Interfaces & Protocols
Duck typing, mixins, and TypeScript interfaces in JavaScript.
Error Handling
try/catch/finally, Error types, and async error handling in JavaScript.
Modules & Imports
ES modules (import/export), CommonJS (require), and npm packages.
Promises & Async/Await
The event loop, Promises, async/await, and parallel execution in JavaScript.
Testing with Jest
Unit testing JavaScript with Jest — describe, it, expect.
HTTP & fetch
Making HTTP requests with the fetch API and handling responses in JavaScript.
JSON in JavaScript
JSON.stringify, JSON.parse, and working with JSON data in JavaScript.
Event Loop & Async
The JavaScript event loop, microtasks, and concurrent patterns.