What's the most elegant way to cap a number to a segment? thumbnail
What's the most elegant way to cap a number to a segment?
stackoverflow.com
the only value in JS where number === number is false is NaN
1 Users
0 Comments
1 Highlights
0 Notes

Top Highlights

  • the only value in JS where number === number is false is NaN

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.