Error reporting

Error reporting
0

#1

Regular Expressions: Restrict Possible Usernames

let username = "JackOfAllTrades";
let userCheck = /[\D]/g; // Change this line
let result = userCheck.test(username);

Surprised this will pass the test