Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with ({})
- {
- {}.toString = function (radix = 10) : String
- {
- if (prototype === this)
- {
- return "0";
- }
- if (!(this is Number))
- {
- Error.throwError(TypeError, 1004, "uint.prototype.toString");
- }
- return Number(this).toString(radix);
- }// end function
- ;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement