fork download
  1. console.log(typeof []);
  2. console.log(typeof null);
  3. console.log(typeof {});
  4.  
  5. console.log(Object.prototype.toString.call([]));
  6. console.log(Object.prototype.toString.call(null));
  7. console.log(Object.prototype.toString.call({}));
Success #stdin #stdout 0.06s 10968KB
stdin
Standard input is empty
stdout
object
object
object
[object Array]
[object Null]
[object Object]