[Web dev for beginners] Plain objects in JavaScript
A beginner's guide to creating and using plain objects in JavaScript, including properties, methods, and a practical flash card app project.
A beginner's guide to creating and using plain objects in JavaScript, including properties, methods, and a practical flash card app project.
A beginner-friendly guide explaining the JavaScript spread operator with examples for arrays and objects, including how overwriting works.
Learn two methods to delete properties from JavaScript objects: the mutable `delete` operator and immutable destructuring with rest syntax.
A collection of practical JavaScript tips covering array/object copying, destructuring, optional chaining, nullish coalescing, and more.
Explores six lesser-known JavaScript object types: Maps, Sets, Symbols, Generators, Reflect, and Proxy, with usage examples.
Explains the concept of JavaScript prototypes, how they work, and their role in object-oriented programming and property lookup.
Explains how functions in JavaScript are first-class objects, detailing their properties, constructors, and object-like behavior with examples.
A guide to using object destructuring in JavaScript to extract properties from objects, covering syntax, nested objects, default values, and common use cases.
Explains the challenges of removing duplicate objects from a JavaScript array and presents a custom solution for deep comparison.
An introduction to Object-Oriented Programming in JavaScript, covering the creation of objects from a common template.
Explains how data is represented as objects in CPython, covering types, identity, binding, and mutability.
A collection of useful one or two-line JavaScript snippets for common tasks like cloning arrays/objects, getting unique values, and flattening arrays.
Explains why Ruby Hashes don't support dot syntax for property access and compares them to Classes, Structs, and OpenStructs.