Rename Number.prototype.clz to Math.clz

Qantas 94 Heavy qantas94heavy at
Thu Jan 30 18:26:50 PST 2014

Would Math.clz32 still throw a TypeError if the argument is not a number,
nor an object with the [[NumberData]] internal slot? Currently all math
functions perform ToNumber on their arguments, unlike what
Number.prototype.clz is currently specified to do.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list