(?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)

“You can use a similar three-dot notation to call a function with an array of arguments. let numbers = [5, 1, 7]; console.log( max(... numbers)); // → 7 This “spreads” out the array into the function call, passing its elements as separate arguments. It is possible to include an array like that along with other arguments, as in max( 9, ... numbers, 2).”

Marijn Haverbeke, Eloquent JavaScript: A Modern Introduction to Programming
Read more quotes from Marijn Haverbeke


Share this quote:
Share on Twitter

Friends Who Liked This Quote

To see what your friends thought of this quote, please sign up!

0 likes
All Members Who Liked This Quote

None yet!


This Quote Is From

Eloquent JavaScript: A Modern Introduction to Programming Eloquent JavaScript: A Modern Introduction to Programming by Marijn Haverbeke
3,188 ratings, average rating, 280 reviews

Browse By Tag