Tests:
  • Var

    AخA
     
    function test1(){
     const x = 1+1;
      return x;
    }
  • No var

     
    function test1(){
     return 1+1;
    }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Var
    No var

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36
Chrome 83 on Linux
View result in a separate tab
Test name Executions per second
Var 523226656.0 Ops/sec
No var 515813632.0 Ops/sec