Returns the data type of an argument in JavaScript