2_semicolon_error.js 175 B

1234567891011
  1. // Пример 1
  2. const a = 2
  3. const b = 5
  4. const c = a + b
  5. [1, 2, 3].forEach((e) => console.log(e))
  6. // Пример 2
  7. for(let i = 0 i < 5; i++) {
  8. console.log(i);
  9. }