Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Windows
Desktop
one year ago
Test name Executions per second
instanceof 184241920.0 Ops/sec
string type 1883460224.0 Ops/sec
string type + undefined 1877126656.0 Ops/sec
property 1871986944.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property