Younes Henni, PhD
1 min readJan 28, 2019

--

Should also mention the issue of an empty array.

let arr = []

console.log(Math.max(…arr)) // returns -Infinity !!!!

--

--

Younes Henni, PhD

Physicist • Soft Dev • ☕ Junkie • I bring you the latest in science, tech, health, economics & personal growth. To read all: https://youneshenni.substack.com/