Your Submissions
You haven't submitted any code for this challenge yet. Solve the problem by passing all the test cases, and your submissions will appear here.
xxxxxxxxxx
function detectType(data) {
return Object.prototype.toString
.call(data)
.slice(1, -1)
.split(" ")[1]
.toLowerCase();
}
OUTPUT
Results will appear here.