Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Mac OS X 10.9
Desktop
6 years ago
Test name Executions per second
slice 9969418.0 Ops/sec
substr 241377408.0 Ops/sec
substring 10770976.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring