Restrict Possible Usernames Doubt!

Restrict Possible Usernames Doubt!
0

#1

Tell us what’s happening:
I Doubt why it’s the right answer.

Your code so far


let username = "9";
let userCheck = /[A-Za-z]./ig; // Change this line
let result = userCheck.test(username);
console.log(result);

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames


#2

It is actually not the right answer to the problem. It is just a loophole that happens to pass the given test, there are many more.