Restrict Possible Usernames


#1

Tell us what’s happening:
这是怎么能过的,我数字条件还没有加啊

Your code so far


let username = "JackOfAllTrades";
let userCheck = /[a-z]/ig; // 修改这一行
let result = userCheck.test(username);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36.

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


#2

测试写的问题,所以你过了