Answers for "what does the ... mean in javascript"

0

what does the ... mean in javascript

const x = [1,2,3,4,5];
Math.max(x) // NaN
Math.max(...x) // 5
// Math.max(...x) = Math.max(1,2,3,4,5)
Posted by: Guest on March-05-2021

Code answers related to "what does the ... mean in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language