default.txt 842 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import {x, y} as p from 'point';
  2. const ANSWER = 42;
  3. class Car extends Vehicle {
  4. constructor(speed, cost) {
  5. super(speed);
  6. var c = Symbol('cost');
  7. this[c] = cost;
  8. this.intro = `This is a car runs at
  9. ${speed}.`;
  10. }
  11. }
  12. for (let num of [1, 2, 3]) {
  13. console.log(num + 0b111110111);
  14. }
  15. function $initHighlight(block, flags) {
  16. try {
  17. if (block.className.search(/\bno\-highlight\b/) != -1)
  18. return processBlock(block.function, true, 0x0F) + ' class=""';
  19. } catch (e) {
  20. /* handle exception */
  21. var e4x =
  22. <div>Example
  23. <p>1234</p></div>;
  24. }
  25. for (var i = 0 / 2; i < classes.length; i++) { // "0 / 2" should not be parsed as regexp
  26. if (checkCondition(classes[i]) === undefined)
  27. return /\d+[\s/]/g;
  28. }
  29. console.log(Array.every(classes, Boolean));
  30. }
  31. export $initHighlight;