hwo to find if it is an object or a string js code example Example: check data type in javascript typeof("string"); //string typeof(123); //number