JavaScript Scope and Hoisting: Global, Function, Block and Lexical Scope
Learn JavaScript scope: global, module, function and block scope, the scope chain, lexical scope, shadowing, and hoisting of var, let, const and functions.
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
Learn JavaScript scope: global, module, function and block scope, the scope chain, lexical scope, shadowing, and hoisting of var, let, const and functions.
Learn JavaScript function parameters: default values, rest parameters, spread arguments, the arguments object, options objects and input validation.
Learn JavaScript arrow functions: short syntax, implicit return, returning objects, arrow functions as callbacks, lexical this and when not to use them.
Learn the JavaScript switch statement: case, break, default, fall-through, grouping cases, switch(true), block scope in cases and when to use a lookup object.
Learn JavaScript break and continue: exit loops early, skip iterations, use labels in nested loops, and replace them in forEach with some, find and every.
Learn truthy and falsy values in JavaScript, the difference between == and ===, Object.is, comparing objects and arrays, and the equality bugs testers meet.
Learn optional chaining (?.) and nullish coalescing (??) in JavaScript, ?? vs ||, the ??= operator and how to stop "Cannot read properties of undefined".
Learn JavaScript numbers: floating-point precision (0.1 + 0.2), rounding, toFixed, Math methods, random numbers, number formatting and BigInt, with examples.
Learn every useful JavaScript console method: log, error, warn, table, group, time, count, assert, dir and trace, plus breakpoints and debugger for beginners.
Learn JavaScript syntax rules: statements and expressions, case sensitivity, identifiers, comments, semicolons and ASI, strict mode and naming conventions.
Learn every way to run JavaScript: the browser console, the Node.js REPL, .js files, one-line commands, web pages and VS Code, with real output and fixes.
Step-by-step guide to install Node.js 26 LTS, npm and VS Code on Windows, macOS and Linux, configure VS Code and run your first JavaScript project.
Take free timed mock tests with answers and explanations.