Using at() method in JavaScript to get the last item from an array
Explains how to use JavaScript's at() method to get the last item from an array, comparing it to traditional approaches.
Explains how to use JavaScript's at() method to get the last item from an array, comparing it to traditional approaches.
A technical guide on making HTML elements 'self-aware' by finding their index among siblings using vanilla JavaScript.
The article argues that JavaScript's forEach method can be a code smell due to performance overhead from function allocation, especially in nested loops.
Explains how the JavaScript Array.concat() method works with examples, including handling of arrays and other values.
Explains JavaScript's array.flatMap() method for mapping and filtering arrays, comparing it to array.map() and array.filter().
Explains the new Object.groupBy() and Map.groupBy() methods in JavaScript for easily grouping array data, comparing them to the traditional reduce() approach.
Explains why async/await doesn't work with JavaScript's forEach and provides the correct solution using Promise.all.
A developer compares using array reduce, method chaining, and for loops in a Node.js script, arguing for practicality over premature optimization.
A tutorial explaining the JavaScript reduce method with examples for summing numbers and counting array items.
Explains how to implement JavaScript's map() function recursively, detailing the logic and base case for recursion.
Explains JavaScript callback functions, including synchronous and asynchronous types, with practical examples for developers.
A guide on converting arrays of key-value strings into JavaScript objects, using Advent of Code passport data as a practical example.
Introduces mutils, a JavaScript library that extends Array and Set classes to add useful utility methods for array manipulation.
A guide to JavaScript's tricky but essential array callback methods like map, filter, and reduce, with links to in-depth video tutorials.
A critique of JavaScript's Array.reduce method, arguing it often creates hard-to-read code and should be avoided in favor of simpler alternatives.
A guide to checking if an array contains a value in JavaScript, covering primitive values with includes() and object search methods.
A developer shares personal preferences and best practices for working with JavaScript array methods, focusing on immutability and readability.
A guide to JavaScript's reduce() method, explaining its syntax, common uses like summing arrays, and comparing it to map() and filter().
A comprehensive cheatsheet detailing 15 essential JavaScript array operations, including iteration, mapping, filtering, and sorting.
A guide to using JavaScript's forEach() method for array iteration, covering syntax, parameters, and best practices.