“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).”
―
Eloquent JavaScript: A Modern Introduction to Programming
Share this quote:
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

3,188 ratings, average rating, 280 reviews
Browse By Tag
- love (100738)
- life (78946)
- inspirational (75386)
- humor (44126)
- philosophy (30724)
- inspirational-quotes (28630)
- god (26792)
- truth (24585)
- wisdom (24369)
- romance (24218)
- poetry (23085)
- life-lessons (22261)
- quotes (20569)
- death (20469)
- happiness (18897)
- hope (18410)
- faith (18275)
- inspiration (17201)
- spirituality (15590)
- relationships (15371)
- religion (15315)
- motivational (15227)
- life-quotes (15161)
- love-quotes (15026)
- writing (14883)
- success (14115)
- travel (13311)
- motivation (13069)
- time (12790)
- science (12017)