let cardNumber; while (cardNumber === undefined || isNaN(cardNumber) || cardNumber == "" || cardNumber < 0 || cardNumber > 9 ) { cardNumber = +prompt("Введи номер карты"); }