Урок: javascript-algorithms-and-data-structures / Debugging / Используйте typeof для проверки типа переменной