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.

View code on GitHub

Comments

Popular posts from this blog

DotNet CLI

Switch Expressions

C# Yield