Run details:
Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G611MT) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.0 Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
2 years ago
Test name Executions per second
var 1719580.4 Ops/sec
let 1459580.1 Ops/sec
const 513016.1 Ops/sec
Tests:
  • var

    AخA
     
    var g = { e: [] }
    g.o = function(x) { g.e.push(...[1,2,3]) }
    g.o()
  • let

     
    var g = { e: [] }
    g.o = function(x) { g.e.push(...[1,2,3]) }
    g.o()
  • const

     
    const g = { e: [] }
    g.o = function(x) { g.e.push(...[1,2,3]) }
    g.o()