// Object.prototype.toString.call() const a = null const b = {} const c = [] const d = undefined console.log(Object.prototype.toString.call(a)) console.log(Object.prototype.toString.call(b)) console.log(Object.prototype.toString.call(c)) console.log(Object.prototype.toString.call(d))