const max = 1000000000; let t = 0;
Initializing...
for( let i = 0; i < max; i++ ) { t=i + i - 1; }
function a( b, c ) { return b + c; } for( let i = 0; i < max; i++ ) { t=a( i, i - 1 ); }
const a = ( b, c ) => { return b + c; } for( let i = 0; i < max; i++ ) { t=a( i, i - 1 ); }
const a = function( b, c ) { return b + c; } for( let i = 0; i < max; i++ ) { t=a( i, i - 1 ); }
You can edit these tests or add more tests to this page by appending /edit to the URL.