Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
n2d4
1y ago
0 comments
Share
The problem is the validation. You'd expect you just have to validate a lower bound, but you also have to validate an upper bound.
0 comments
default
newest
oldest
leptons
1y ago
It's user input, you have to validate
all the bounds
, and filter out whatever else might cause problems. Not doing so is a a problem with the programmer, not setTimeout.
j
/
k
navigate · click thread line to collapse