Posted By

Piotrek290 on 02/27/10


Tagged

javascript js number prototype range


Versions (?)

numbers range


 / Published in: JavaScript
 

  1. Number.prototype.range = function(a,b){
  2. return this>=a&&this<=b?true:false;
  3. }

Report this snippet  

You need to login to post a comment.