ord.js 398 B

1234567891011121314151617
  1. var RTL$ = {
  2. assert: function (condition, code){
  3. if (!condition)
  4. throw new Error("assertion failed"
  5. + ((code !== undefined) ? " with code " + code : ""));
  6. }
  7. };
  8. var m = function (){
  9. var ch = 0;
  10. var set = 0;
  11. ch = 97;
  12. RTL$.assert(ch == 97);
  13. set = 2;
  14. RTL$.assert(2 == set);
  15. RTL$.assert(((true) ? 1 : 0) == 1);
  16. RTL$.assert(((false) ? 1 : 0) == 0);
  17. }();