Run details:
Mozilla/5.0 (Linux; Android 10; MAR-LX1A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
Chrome Mobile 110
Android
Mobile
one year ago
Test name Executions per second
constructor comparison 942101.5 Ops/sec
instanceof operator 928899.8 Ops/sec
Array.isArray call 942865.0 Ops/sec
Script Preparation code:
Tests:
  • constructor comparison

  • instanceof operator

  • Array.isArray call