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.
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.
Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.