Loading exercises...
Linked Lesson: Configuration and environment data
Given a string containing only ASCII decimal digits, return its numeric value if it is an integer from 1 to 65535 inclusive. Otherwise return 0. Do not accept whitespace, signs, decimals or exponential notation.