typeof example in javascript 26 Typeof Example In Javascript Description. The typeof operator is used to get the data type (returns a string) of its operand. The operand can be either … Written By Susan R. Robinson Monday, May 18, 2015 Add Comment Edit