Run details:
Mozilla/5.0 (Linux; Android 13; 2201117SY) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36 ABB/3.4.5
Chrome Mobile 111
Android
Mobile
9 months ago
Test name Executions per second
var 9430002.0 Ops/sec
let 11812955.0 Ops/sec
const 2104419.5 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()