Articles by Benjamin Peterson
-
ES6 In Depth: Rest parameters and defaults
ES6 In Depth is a series on new features being added to the JavaScript programming language in the 6th Edition of the ECMAScript standard, ES6 for short. Today’s post is about two features that make JavaScript’s function syntax more expressive: rest parameters and parameter defaults. Rest parameters A common need when creating an API is […]