Follow

javascript 

> [-1].reduce(Math.max, -1)
0

javascript 

> [-1].reduce(Math.max)
-1
> [-1].reduce(Math.max, -1)
0
> [-1, 2].reduce(Math.max, -1)
NaN
Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.