This is going to cast a number to a string and do a regex on it, but we already have the number. It would be better to check of `arguments[0]` is a number and if so do the logic on that number.