Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Linux
Desktop
3 years ago
Test name Executions per second
Array.isArray 324159712.0 Ops/sec
instanceof 156484432.0 Ops/sec
[].constructor 156961888.0 Ops/sec
Object.prototype.toString 203114800.0 Ops/sec
Script Preparation code:
Tests:
  • Array.isArray

  • instanceof

  • [].constructor

  • Object.prototype.toString