You can use the JavaScript typeof operator to find the type of a JavaScript variable. ... Undefined. In JavaScript, undefined is a variable with no value. The typeof ...
www.w3schools.com