On Sat, 15 Jan 2011 17:38:24 +0100, Michael Haufe (TNO)
wrote:
Here is a contrived example, but with some imagination I think some
utility could be applied to this.
var a = 6
var b = Number(6)
That's the same as "a".
var c = new Number(6)
Number.prototype.valueOf = function(){
throw
On Jan 14, 9:15 pm, Joel Dart wrote:
> Creating Number objects is pretty much useless. If you ever need an *object*
> that stores a
> number value, you can just create a custom object yourself and store the
> number value as
> a property - it's probably also better Object Oriented modelling than