I tried to run the following Node.js code:
for (let a = 5; a === 11 ; a++) {
console.log(a);
}
I want to know how this loop returns the result . (Logically, step by step.) Why does it log nothing to the console?
Example:
- It starts with
5. - It then gets added by
1each time. - It's stopping condition is...
Thanks in advance and do ask in comments if the question wasn't clear.