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