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.
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.
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 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.
A detailed guide explaining how to use the JavaScript Array Map method for transforming array elements without modifying the original array.
Explores JavaScript Array methods like map(), filter(), every(), and some() as alternatives to traditional for loops for cleaner, more functional code.
Advocates replacing traditional for/while loops in JavaScript with functional programming methods like map() and filter() for cleaner, immutable code.