ybakun

2021.07.07 Yuliia Bakun

Jul 7th, 2021 (edited)
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Проверка значения вне диапазона
  2. //  https://learn.javascript.ru/logical-operators#proverka-znacheniya-vne-diapazona
  3.  
  4. let num = prompt("Age");
  5. let condition = (num <= 14 || num >= 90);
  6. console.log(condition);
  7. if (!condition) {
  8.     console.log("vahrjgsk")
  9. }
Add Comment
Please, Sign In to add comment