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 1141002.6 Ops/sec
isArray 1106996.2 Ops/sec
variable.constructor 924127.8 Ops/sec
variable.constructor name 1566446.1 Ops/sec
Script Preparation code:
Tests:
  • Instanceof

  • isArray

  • variable.constructor

  • variable.constructor name


;