Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 YaBrowser/24.7.0.0 Safari/537.36
Yandex Browser 24
Linux
Desktop
14 days ago
Test name Executions per second
constructor comparison 10247796.0 Ops/sec
instanceof operator 10299846.0 Ops/sec
Array.isArray call 11119899.0 Ops/sec
Script Preparation code:
Tests:
  • constructor comparison

  • instanceof operator

  • Array.isArray call


;