console.log(typeof 80); >> number console.log(typeof 80n); >> bigint console.log(typeof 'Pen'); >> string console.log(typeof true); >> boolean console.log(typeof null); >> object console.log(typeof NaN); >> number console.log(typeof undefined); >> undefined console.log(typeof Symbol('A')); >> symbol console.log(typeof [10, 20]); >> object console.log(typeof {a:'abc'}); >> object let func = functio