Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Windows
Desktop
5 years ago
Test name Executions per second
test equality 6486.2 Ops/sec
test strict equality 6797.7 Ops/sec
Tests:
  • test equality

    AخA
     
    var n = 0;
    while(true) {
        n++;
        if(n==100000) 
            break;
    }
  • test strict equality

     
    var n = 0;
    while(true) {
        n++;
        if(n===100000) 
            break;
    }