Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 OPR/73.0.3856.344
Opera 73
Windows 7
Desktop
3 years ago
Test name Executions per second
Instanceof 1115422.4 Ops/sec
isArray 1110311.8 Ops/sec
Script Preparation code:
Tests:
  • Instanceof

  • isArray