DEV Community

Discussion on: What s wrong with Array.reduce ?

Collapse
 
savagepixie profile image
SavagePixie

Math.max(...nums) for the win