Stripping the first character from string

Benchmark created on


Setup

const str = 'here is a string with a bunch of characters etc etc';

Test runner

Ready to run.

Testing in
TestOps/sec
.substring(1)
str.substring(1)
ready
.substr(1)
str.substr(1)
ready
.slice(1)
str.slice(1)
ready

Revisions

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