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