Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Linux
Desktop
10 months ago
Test name Executions per second
instanceof 312422240.0 Ops/sec
string type 1821630976.0 Ops/sec
string type + undefined 1846039936.0 Ops/sec
property 1843488768.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • instanceof

  • string type

  • string type + undefined

  • property