How I work with arrays
A developer shares personal preferences and best practices for working with JavaScript array methods, focusing on immutability and readability.
A developer shares personal preferences and best practices for working with JavaScript array methods, focusing on immutability and readability.
Explains why using window.addEventListener('load') is better than window.onload in JavaScript to avoid overwriting event handlers.
Explains three methods to check for property/key existence in JavaScript objects: hasOwnProperty(), the 'in' operator, and comparing with undefined.
Explains the difference between the Rest and Spread operators in JavaScript ES6, covering syntax and practical use cases.
A developer shares their process for creating custom ASCII art messages in the browser console using JavaScript and special characters.
A guide on mocking Axios HTTP calls in Jest tests without external packages, including code structure and coverage tips.
Learn the correct methods to compare objects in JavaScript, covering referential, shallow, and deep equality techniques.
An in-depth technical look at how the Mocha test runner works, from parsing to execution, based on the author's experience on the core team.
A critique of async/await implementation in programming languages, focusing on code duplication and proposing functional abstractions as an alternative.
An introduction to Web Workers, explaining how they enable multithreading in JavaScript to prevent UI blocking, with basic usage examples.
A developer shares initial observations and setup tips for Snowpack, a modern JavaScript build tool, highlighting its config order, mount scripts, and HMR capabilities.
Learn how to implement Lodash's countBy function in vanilla JavaScript using the reduce method to group and count objects by property.
Learn how to implement a groupBy function in vanilla JavaScript using the reduce method, without needing Lodash.
Learn two methods to replace all occurrences of a string in JavaScript: using regex with global flag and the newer replaceAll function.
A detailed guide on the author's process for creating concise, high-value educational videos, focusing on preparation and content structure.
Explains the differences between Object.is() and the strict equality operator (===) in JavaScript, focusing on NaN and -0 comparisons.
Explains the differences and purposes of package.json and package-lock.json files in Node.js projects, focusing on dependency management.
A beginner's tutorial on building a multiplayer game using Websockets with Vapor 4 (Swift) and Vanilla JavaScript for real-time communication.
An introduction to Netlify Functions, explaining how they simplify AWS Lambda by abstracting away complex configuration and deployment.
The provided content is not a blog article but a 404 error page with embedded analytics code.