Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

variable name javascript

function solution(name) {
    return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(name);
}
 
PREVIOUS NEXT
Tagged: #variable #javascript
ADD COMMENT
Topic
Name
7+6 =