Remove the First Character of a String (v3)

Revision 3 of this benchmark created on


Preparation HTML

<script>
  var str = "@abcdefghijklmnopqrstuvwxyz"
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Slice method
str.slice(1);
ready
Substring
str.substring(1);
ready
charAt
str.charAt(0)
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.