Test name | Executions per second |
---|---|
const | 20728496.0 Ops/sec |
let | 20957574.0 Ops/sec |
var | 20506482.0 Ops/sec |
const g = { e: [] }
g.o = function(x) { g.e.push( [1,2,3]) }
g.o()
return g;
let g = { e: [] }
g.o = function(x) { g.e.push( [1,2,3]) }
g.o()
return g;
var g = { e: [] }
g.o = function(x) { g.e.push( [1,2,3]) }
g.o()
return g;