Hi Andi,

You can open a ticket for this, but it'll need tests.

I'd favor a more concise notation:

Number.prototype.setInRange = function(from, to) {
  return Math.min(Math.max(from, this), to);

and I'm not really sure bout the use of that method not the api.

For some reason, I think it should be tied to $R more closely.



You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to