+ 3
Marks a block of statements to be executed, as long as a condition is true.
This is a definition of "for" statement given in w3school. I know what is for loop, I just want to know meaning of "Marks" in above definition. Here's link of that definition: https://www.w3schools.com/jS/js_statements.asp
8 Réponses
+ 5
Really thanx, now I can proceed further with my js lessons.
+ 3
Prathamesh Sawant Marks for the “for” statement definition is refering to everything inside the for loop.
As the block of code is the for loop and the statements are inside it.
So all the statements in the for loop are executed if the condition is true.
+ 3
Can I say "Executes a block of statements to be executed, as long as condition is true."?
+ 3
Yes
+ 3
Is that a coding term? I am learning to code online, even though I understand lot of logical stuff, it sometimes gets difficult to understand meaning of such simple terms.
+ 3
They should have instead said, "Executes a block of statements inside a loop as long as condition is true." simple english.
+ 2
'Mark’ is not a coding term
It is just used to help understand
+ 2
Yes, that sounds a lot better