Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/94.0.4606.52 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 94
iOS 14.7
Mobile
3 years ago
Test name Executions per second
Boolean 1377965.6 Ops/sec
Double negation trick 3668127.5 Ops/sec
Script Preparation code:
Tests:
  • Boolean

  • Double negation trick