O'Reilly logo
  • Ivan Petrov thinks this is interesting:

set: function(newValue) { var value = parseInt(newValue.toString()); if (isNaN(value)) { return false; } else { field = value; return true; } } } } ();