Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. with ({})
  2. {
  3.     {}.toString = function (radix = 10) : String
  4. {
  5.     if (prototype === this)
  6.     {
  7.         return "0";
  8.     }
  9.     if (!(this is Number))
  10.     {
  11.         Error.throwError(TypeError, 1004, "uint.prototype.toString");
  12.     }
  13.     return Number(this).toString(radix);
  14. }// end function
  15. ;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement