double equal == vs triple equal === (with vars) (v4)

Revision 4 of this benchmark created by Vlad Kras on


Description

equal equal vs equal equal equal (with vars)

Setup

var string = '4',
      number = 4;

Test runner

Ready to run.

Testing in
TestOps/sec
var == var
number == string
ready
var === var
number === string
ready

Revisions

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