Run details:
Mozilla/5.0 (Linux; Android 12; SM-M315F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.149 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
Array includes 3665375.8 Ops/sec
Set has 3312378.8 Ops/sec
Map has 3726065.8 Ops/sec
Script Preparation code:
Tests:
  • Array includes

  • Set has

  • Map has