summaryrefslogtreecommitdiffhomepage
path: root/tests/00_syntax/16_for_loop
diff options
context:
space:
mode:
Diffstat (limited to 'tests/00_syntax/16_for_loop')
-rw-r--r--tests/00_syntax/16_for_loop9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/00_syntax/16_for_loop b/tests/00_syntax/16_for_loop
index 61e86a1..4c233bc 100644
--- a/tests/00_syntax/16_for_loop
+++ b/tests/00_syntax/16_for_loop
@@ -20,7 +20,6 @@ Iteration 7
Iteration 8
Iteration 9
-
If the loop body consists of only one statement, the curly braces
may be omitted:
Iteration 0
@@ -34,7 +33,6 @@ Iteration 7
Iteration 8
Iteration 9
-
Any of the init-, test- and increment expressions may be omitted.
Loop without initialization statement:
@@ -42,30 +40,25 @@ Iteration null
Iteration 1
Iteration 2
-
Loop without test statement:
Iteration 0
Iteration 1
Iteration 2
-
Loop without init-, test- or increment statement:
Iteration 1
Iteration 2
Iteration 3
-
For-in loop enumerating object properties:
Key: foo
Key: bar
-
For-in loop enumerating array items:
Item: one
Item: two
Item: three
-
A counting for-loop using the alternative syntax:
Iteration 0
Iteration 1
@@ -78,12 +71,10 @@ Iteration 7
Iteration 8
Iteration 9
-
A for-in loop using the alternative syntax:
Item 123
Item 456
Item 789
-
-- End --
-- Testcase --