Get type of value
How to solve it
To get the type of a value you can use the typeof operator.
console.log(typeof 'a')
// output: 'string'
console.log(typeof false)
// output: 'boolean'
console.log(typeof 1)
// output: number