版博士V2.0程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

simple-tryout.js 1.0 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. const code = `
  2. var t1 = Tryout.TRYOUT_SID_391;
  3. let t2 = Tryout.TRYOUT_SID_391;
  4. const t3 = Tryout.TRYOUT_SID_391;
  5. const t4 = Tryout.TRYOUT_SID_391 ? 1 : '2';
  6. const t5 = Tryout.TRYOUT_SID_391 ? () => { return '1' } : '2';
  7. const t6 = Tryout.TRYOUT_SID_391 ? () => { return '1' } : { name: 'jerry' };
  8. const t7 = !Tryout.TRYOUT_SID_391 ? 1 : '2';
  9. const t8 = !Tryout.TRYOUT_SID_391 ? () => { return '1' } : '2';
  10. const t9 = !Tryout.TRYOUT_SID_391 ? () => { return '1' } : { name: 'jerry' };
  11. if (Tryout.TRYOUT_SID_391) {
  12. console.log('391');
  13. }
  14. if (!Tryout.TRYOUT_SID_391) {
  15. console.log('391');
  16. }
  17. if (Tryout.TRYOUT_SID_391 && 1 == 1) {
  18. console.log('391');
  19. }
  20. if (Tryout.TRYOUT_SID_391 || 1 == 1) {
  21. console.log('391');
  22. }
  23. if (Tryout.TRYOUT_SID_391 || 1 != 1) {
  24. console.log('391');
  25. }
  26. if (Tryout.TRYOUT_SID_391 || (1 != 1 && 2 == 1)) {
  27. console.log('391');
  28. }
  29. if (!Tryout.TRYOUT_SID_391 && 1 == 1) {
  30. console.log('391');
  31. }
  32. if (!Tryout.TRYOUT_SID_391 || 1 == 1) {
  33. console.log('391');
  34. }
  35. `;
  36. module.exports = code;