Amy Blankenship
Mar 12, 2024

--

No, the NaN is for the upper limit of what's valid. If you enter NaN, then you don't check that it's shorter/smaller.

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

Responses (1)