Run details:
Mozilla/5.0 (Linux; Android 10; RMX1992) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.83 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
4 years ago
Test name Executions per second
Instanceof 1133487.0 Ops/sec
isArray 985457.9 Ops/sec
variable.constructor 1099813.4 Ops/sec
variable.constructor name 1511150.8 Ops/sec
Script Preparation code:
Tests:
  • Instanceof

  • isArray

  • variable.constructor

  • variable.constructor name