type-checkingJavaScriptType CheckingEasyWhich operator is used to check the data type of a variable in JavaScript?1typeof2instanceof only3datatype()4checktype()Back to list