Loading…
Loading…
JavaScript
A complete JavaScript course — from the language fundamentals and the DOM to modern features, modules, async, tooling and the parts you actually reach for day to day. 140 articles with practice quizzes.
What the symbol primitive is for: guaranteed-unique property keys that never clash, hidden from for...in and JSON, Symbol.for and the global registry, description, and the well-known symbols (iterator, toPrimitive, toStringTag, hasInstance, dispose) that let your objects plug into the language.
kvi5hnuCode Sprout team member6 minWhy JavaScript has two "no value" values, every place undefined appears automatically, how null and undefined differ in typeof, equality, arithmetic, JSON and default parameters, how to check for them safely with ?? and ?., and which one your own code should use.
kvi5hnuCode Sprout team member7 minThe boolean type and the truthiness rules every JavaScript developer must know: the complete list of falsy values, surprising truthy ones ("0", [], {}), converting with Boolean() and !!, when if (value) is a bug, booleans in arithmetic, and the new Boolean(false) trap.
kvi5hnuCode Sprout team member5 minBacktick strings in depth: ${} interpolation and how values become text, multi-line strings and the indentation problem, nesting, tagged templates (what the tag receives, raw strings, caching), String.raw, and real tags for HTML escaping, SQL parameters and dedenting.
kvi5hnuCode Sprout team member6 minA practical tour of the string API with runnable examples: slice vs substring vs substr, indexOf and includes, replace vs replaceAll and the $ patterns, split edge cases, trimming, padding, case conversion pitfalls, localeCompare, and the methods that take regular expressions.
kvi5hnuCode Sprout team member7 minEverything about writing and reading strings: single, double and backtick quotes, multi-line strings, every escape sequence, why length counts UTF-16 code units, indexing with [] and at(), surrogate pairs and emoji, well-formed strings, and how string comparison really works.
kvi5hnuCode Sprout team member7 minWhen numbers run out of exact integers, BigInt takes over: literals and the BigInt() function, which operators work, why mixing BigInt and number throws, division that truncates, comparisons, conversions, JSON serialization, 64-bit typed arrays and when not to use BigInt.
kvi5hnuCode Sprout team member6 minThe most famous JavaScript puzzle, explained properly: how 0.1 is stored in binary, why errors appear and accumulate, how to compare decimals with a tolerance, toFixed's surprises, Math.sumPrecise, and the right way to handle money with integer cents, BigInt and Intl.NumberFormat.
kvi5hnuCode Sprout team member9 minWhy dividing by zero doesn't crash JavaScript, where NaN comes from and why NaN !== NaN, isNaN vs Number.isNaN, negative zero and how to detect it, the Number constants (MAX_VALUE, MIN_VALUE, EPSILON, safe integers), and the three equality algorithms ===, Object.is and SameValueZero.
kvi5hnuCode Sprout team member7 minHow JavaScript's single number type works: 64-bit floats for integers and fractions, every literal form (hex, binary, octal, exponents, separators), and a tour of Math: rounding (why Math.round(-2.5) is -2), min/max pitfalls, powers, logs, trig, random integers and new methods.
kvi5hnuCode Sprout team member8 minThe big picture of JavaScript's type system: the seven primitive types and objects, what typeof returns for each (and why typeof null is "object"), dynamic typing, immutability, why primitives have methods, how garbage collection decides what to free, and how to check types reliably.
kvi5hnuCode Sprout team member7 minWhen JavaScript inserts semicolons for you and when it doesn't: the three ASI rules, the five characters that join lines together ( [ ` / + -, the return-on-its-own-line bug, postfix ++, arrows, class fields, and how ESLint and Prettier make the semicolon debate irrelevant.
kvi5hnuCode Sprout team member9 minHow JavaScript handles Unicode in your source code: \u escapes in strings and identifiers, why emoji have length 2, composed vs decomposed characters and normalize(), invisible and look-alike characters that create "impossible" bugs, Trojan Source attacks, and how to protect a codebase.
kvi5hnuCode Sprout team member8 minThe lowest-level rules of JavaScript: case sensitivity, whitespace and line terminators, every comment form (including JSDoc and #! lines), all kinds of literals, what makes a valid identifier, and exactly which reserved words are banned in sloppy code, strict code and modules, verified with code.
kvi5hnuCode Sprout team member10 minBuild a complete Node.js program that reads text from standard input, counts words with a Map, ranks them and draws a scaled bar chart, then walk through every line: regular expressions with Unicode, ?? defaults, destructuring, sorting with tie-breakers, padEnd and toFixed.
kvi5hnuCode Sprout team member8 minThe second half of the JavaScript tour: function declarations and arrow functions, functions as values, methods and this, if/else, loops with for...of, switch, a first class with a getter and a subclass, error handling, and a first look at async/await and modules.
kvi5hnuCode Sprout team member6 minA fast, hands-on first pass through JavaScript: let and const, numbers, strings, booleans, null and undefined, objects and arrays, optional chaining, arithmetic, comparison and logical operators, and the === vs == question, all with runnable examples you can change.
kvi5hnuCode Sprout team member7 minEvery way to run JavaScript while you learn: the browser DevTools console, the Node.js REPL and its dot commands, running .js files with node, --watch, -e and -p, reading standard input, script tags and modules in a page, plus which Node.js version to install in 2026.
kvi5hnuCode Sprout team member9 minWhat JavaScript really is: the language vs the ECMAScript standard, how TC39 adds features stage by stage, every edition from ES5 to ES2026 (and what ES2027 brings), strict mode, engines like V8, and why browsers and Node.js give the same language different powers.
kvi5hnuCode Sprout team member12 minThe complete table of contents for the JavaScript course, from first steps to async, metaprogramming, browsers, Node and tooling: 139 articles in 17 parts, with a review quiz after each part. Start at the beginning or jump to any topic.
kvi5hnuCode Sprout team member12 min