Skip to content

Instantly share code, notes, and snippets.

View davidrielo's full-sized avatar
💭
I may be slow to respond.

David Rielo davidrielo

💭
I may be slow to respond.
View GitHub Profile
// time and time end
console.time("This");
let total = 0;
for (let j = 0; j < 10000; j++) {
total += j
}
console.log("Result", total);
console.timeEnd("This");
// Memory