== versus ===

Benchmark created by Axel Rauschmayer on


Setup

var value = "abc";

Test runner

Ready to run.

Testing in
TestOps/sec
Equals
value == "abc";
 
ready
Strict equals
value === "abc";
ready
typeof ==
typeof value == "string";
ready
typeof ===
typeof value === "string";
ready

Revisions

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

  • Revision 1: published by Axel Rauschmayer on