Run details:
Mozilla/5.0 (Android 14; Mobile; rv:133.0) Gecko/133.0 Firefox/133.0
Firefox Mobile 133
Android
Mobile
4 months ago
Test name Executions per second
var 9696658.0 Ops/sec
let 9212086.0 Ops/sec
const 9316615.0 Ops/sec
Tests:
  • var

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

     
    let 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()