KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In javascript, how can you check if a string is a natural number (including zeros)? Thanks Examples: '0' // ok '1' // ok '-1' // not ok '-1.1' // not ok '1.1' // not ok 'abc' // not ok
Tags (comma-separated)
Save Edits
Cancel