JavaScript Rest Parameters
Rest parameters in JavaScript give you the ability to accept an array as a parameter in a function, but call it using an arbitrary number of arguments. This is kind of the reverse of the spread operator.
Software development tutorials and demos lasting no more than 60 seconds. No in-depth explanations, no off-topic rants, and no slides. One small topic per video - only code, console, config, and client. All videos come with a corresponding blog entry, and all code is available on GitHub.
Rest parameters in JavaScript give you the ability to accept an array as a parameter in a function, but call it using an arbitrary number of arguments. This is kind of the reverse of the spread operator.
Comments
Post a Comment