Add prototype of checkNumber