Finding out data type
Return the data type of the given input.
Sample Code:
function naniTheWhat(inp) {
// Enter your logic here...
}
Examples:
Input: true
Output: 'boolean'
Explanation: Boolean type has two values. True and false.
Input: ' '
Output: 'string'
Explanation: Anything inside the quotation is considered as string.