To check if a string contains numbers in JavaScript, we have to call the test() method on the regular expression /\d/ and pass the string as the argument.
確定! 回上一頁