+ 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

28th Jun 2018, 3:15 PM
Prathamesh Sawant
Prathamesh Sawant - avatar
8 Respuestas
+ 5
Really thanx, now I can proceed further with my js lessons.
28th Jun 2018, 3:48 PM
Prathamesh Sawant
Prathamesh Sawant - avatar
+ 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.
28th Jun 2018, 3:19 PM
Agent
Agent - avatar
+ 3
Can I say "Executes a block of statements to be executed, as long as condition is true."?
28th Jun 2018, 3:37 PM
Prathamesh Sawant
Prathamesh Sawant - avatar
+ 3
Yes
28th Jun 2018, 3:37 PM
Agent
Agent - avatar
+ 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.
28th Jun 2018, 3:42 PM
Prathamesh Sawant
Prathamesh Sawant - avatar
+ 3
They should have instead said, "Executes a block of statements inside a loop as long as condition is true." simple english.
28th Jun 2018, 3:46 PM
Prathamesh Sawant
Prathamesh Sawant - avatar
+ 2
'Mark’ is not a coding term It is just used to help understand
28th Jun 2018, 3:43 PM
Agent
Agent - avatar
+ 2
Yes, that sounds a lot better
28th Jun 2018, 3:47 PM
Agent
Agent - avatar