== vs ===

Benchmark created by Stakabo on


Description

== vs ===

Test runner

Ready to run.

Testing in
TestOps/sec
==
if ('aa' == 'aa' ) {
  console.log("'aa' == 'aa'")
}

if ('aa' == 'bb' ) {
  console.log("'aa' == 'bb'")
}
ready
===
if ('aa' === 'aa' ) {
  console.log("'aa' == 'aa'")
}

if ('aa' === 'bb' ) {
  console.log("'aa' == 'bb'")
}
ready
== type
if ( true == 'true' ) {
  console.log("true == 'true'")
}

if ( true == true ) {
  console.log("true == true")
}
ready
=== type
if ( true === 'true' ) {
  console.log("true === 'true'")
}

if ( true === true ) {
  console.log("true === true")
}
ready

Revisions

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

  • Revision 1: published by Stakabo on