Rename Number.prototype.clz to Math.clz

Qantas 94 Heavy qantas94heavy at gmail.com
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: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140131/77577bbb/attachment.html>


More information about the es-discuss mailing list