gistlib
index.tsxlet count = 0; function incrementCounter() { count++; console.log(count); } function resetCounter() { count = 0; console.log(count); } incrementCounter(); incrementCounter(); resetCounter(); 210 chars16 lines
let count = 0; function incrementCounter() { count++; console.log(count); } function resetCounter() { count = 0; console.log(count); } incrementCounter(); incrementCounter(); resetCounter();
gistlibby LogSnag