String charAt vs. bracket notation (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
String charAt
"cat".charAt(0);
ready
String bracket notation
"cat"[0];
ready

Revisions

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