reading-notes

Notes for Codefellows Code 401 301 201 and 102

for (let i = 0; i < 10; i++){ console.log(i); 10times }

for (let i = 0; i < 10; i=i+5){ console.log(i); }

for (let i = 0; i <= 10; i++){ console.log(i); 11 times }

counter start, operator condition, add or subtract

for (let counter = 0; counter < 10; counter++){ console.log(counter); can use any variable name }

minifying javaScript