Create a function that returns the data type of a given variable. These are the eight data types this challenge will be testing for:
dataType([1, 2, 3, 4]) ➞ "array"
dataType({key: "value"}) ➞ "object"
dataType("This is an example string.") ➞ "string"
dataType(new Date()) ➞ "date"
Return the name of the data type as a lowercase string.