Run details:
Mozilla/5.0 (X11; CrOS x86_64 14092.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.107 Safari/537.36
Chrome 93
Chrome OS 14092.77.0
Desktop
2 years ago
Test name Executions per second
Memoize typeof call 30020.9 Ops/sec
Call typeof every time 159.4 Ops/sec
Tests:
  • Memoize typeof call

  • Call typeof every time