Get type of value

Write a function that takes a value as argument. Return the type of the value.
JavaScript
Console