map()
, reduce()
, filter()
, oh my! Many new devs (or seasoned ones venturing into JavaScript) always tell me that these and other essential methods are difficult understand, let alone explain to someone else. Sure, you can read the official documentation (you should do that) to see how they are supposed to work and even get useful code samples. But when the time comes, either in an interview or a conversation with someone new to JavaScript, can you clearly and confidently explain how they work?
To solve this conundrum, I did what I do best and created dessert-based explanations of the essential and most commonly used methods! So if you’re ready to hear how marshmallows and map() are totally a thing or why includes() and ice cream belong together in a JavaScript for beginners course, then stop by!
Adrienne Braganza Tacke is a Filipina software engineer and published author of the book Coding for Kids: Python. She takes great delight in solving complex problems and building awesome things, particularly with C# and JavaScript. Most of all, she relishes the opportunity to teach anyone about code.