js_keyword.js 672 B

12345678910111213141516171819202122232425262728293031323334
  1. <rtl code>
  2. var import$ = function (){
  3. function Math$(){
  4. }
  5. Math$.prototype.do = function(){
  6. };
  7. Math$.prototype.catch = function(){
  8. };
  9. return {
  10. Math: Math$
  11. }
  12. }();
  13. var m = function (import$){
  14. RTL$.extend(Object$, import$.Math);
  15. RTL$.extend(Number$, Object$);
  16. function Object$(var$/*INTEGER*/){
  17. import$.Math.call(this);
  18. this.var = var$;
  19. }
  20. Object$.prototype.catch = function(){
  21. import$.Math.prototype.catch.call(this);
  22. };
  23. Object$.prototype.throw = function(){
  24. };
  25. function Number$(){
  26. Object$.call(this, 123);
  27. }
  28. Number$.prototype.throw = function(){
  29. Object$.prototype.throw.call(this);
  30. };
  31. Number$.prototype.do = function(){
  32. Object$.prototype.do.call(this);
  33. };
  34. }(import$);