testbeginnerconst re = /\d+/
re.test('abc123') // β true
re.test('abc') // β falseUse RegExp.test() to check whether a string matches the regular expression pattern.
test() returns false when the pattern does not match.
Challenge: Verify that /^\d+$/.test('abc') returns false.