Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

is digit javascript

function solution(symbol) {
    return /^[0-9]$/.test(symbol);
}
 
PREVIOUS NEXT
Tagged: #digit #javascript
ADD COMMENT
Topic
Name
8+9 =