Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Android
Desktop
8 months ago
Test name Executions per second
&& 4127380.2 Ops/sec
optional chaining (?.) 7845094.0 Ops/sec
Script Preparation code:
Tests:
  • &&

  • optional chaining (?.)