Test name | Executions per second |
---|---|
TEST_1: VAR | 16936656.0 Ops/sec |
TEST_2: LET | 16714196.0 Ops/sec |
TEST_3: CONST | 16501599.0 Ops/sec |
<!--your preparation HTML code goes here-->
/*your preparation JavaScript code goes here
To execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/
async function globalMeasureThatScriptPrepareFunction() {
// This function is optional, feel free to remove it.
// await someThing();
}
var g = { e: [] }
g.o = function(x) { g.e.push( [1,2,3]) }
g.o()
let g = { e: [] }
g.o = function(x) { g.e.push( [1,2,3]) }
g.o()
const g = { e: [] }
g.o = function(x) { g.e.push( [1,2,3]) }
g.o()