Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0
Firefox 84
Linux
Desktop
3 years ago
Test name Executions per second
Array.isArray 77977560.0 Ops/sec
instanceof 49390836.0 Ops/sec
[].constructor 82959136.0 Ops/sec
Object.prototype.toString 20839162.0 Ops/sec
Script Preparation code:
Tests:
  • Array.isArray

  • instanceof

  • [].constructor

  • Object.prototype.toString


;