MIRROR: javascript for 馃悳's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 9 lines 231 B view raw
1const obj = { a: 42 }; 2const iterations = 200000; 3 4let start = Date.now(); 5let result = 0; 6for (let i = 0; i < iterations; i++) { 7 result += obj.a; 8} 9console.log(`loop string access: ${Date.now() - start}ms (result: ${result})`);