You can use the typeOf operator to find the data type of a JavaScript variable.
Visit the following resources to learn more: