School
Advanced Javascript
Week 09
Class
Read
- Can Your Programming Language Do This?
This article by Joel Spolsky explores the difference between programming languages that are designed to solve specific problems versus those that are more general-purpose. It argues that some programming tasks require a language with specific features to handle them efficiently, and that attempting to use a general-purpose language for such tasks can result in bloated and difficult-to-read code.
- How To Use map(), filter(), and reduce() in JavaScript
This article provides an overview of three commonly used methods in JavaScript for processing arrays:
map()
,filter()
, andreduce()
. It covers how to use each method, common use cases, and examples of code using each method. - JavaScript Spread Operator
This article explains the JavaScript spread operator, which allows an iterable (such as an array) to be expanded into individual elements. It covers syntax and examples of using the spread operator with arrays, objects, and function calls.