Lines Matching refs:statements
115 Usually variables of this type are used in conditional statements:
298 …ement is used to execute a sequence of statements when a logical condition is `true`, or another s…
300 The `else` part can also contain more `if` statements.
330 A `switch` statement is used to execute a sequence of statements that match the value of a switch e…
352 …`switch` expression equals the value of some label, then the corresponding statements are executed.
354 If there is no match, and the `switch` has the default clause, then the default statements are exec…
358 If there is no `break`, then the next statements in the `switch` are executed.
387 statements
394 …sidered `true`), or if the conditional expression is omitted, then the statements in the `for` bod…
395 3. The statements of the `for` body are executed.
410 `for-of` statements are used to iterate over an array or string.
416 statements
430 A `while` statement has its body statements executed as long as the specified condition evaluates t…
436 statements
453 `do-while` statements are executed repetitively until a specified condition evaluates to `false`.
459 statements
497 // statements
537 The example below shows the `throw` and `try` statements used to handle the zero division case:
1787 A module can contain any statements at the module level, except `return` ones.