I discovered this on accident while answering a question on stackoverflow
Math.max(...[1, 2, 3]); // 3
Math.min(...[1, 2, 3]); // 1
Technologist for days
I discovered this on accident while answering a question on stackoverflow
Math.max(...[1, 2, 3]); // 3
Math.min(...[1, 2, 3]); // 1