function validateInput(input) { if (input === "") { console.error("Input cannot be empty"); return false; } return true; }
Sprawdź odpowiedź