Skip to content

Commit f17ea25

Browse files
zevaverbachmarijnh
authored andcommitted
rearranged the test of the first exercise,
so that a working `range` function will generate output before creating a working `sum` function.
1 parent 07e8778 commit f17ea25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

04_data.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,10 +1199,10 @@ ifdef::interactive_target[]
11991199
----
12001200
// Your code here.
12011201

1202-
console.log(sum(range(1, 10)));
1203-
// → 55
12041202
console.log(range(5, 2, -1));
12051203
// → [5, 4, 3, 2]
1204+
console.log(sum(range(1, 10)));
1205+
// → 55
12061206
----
12071207
endif::interactive_target[]
12081208

0 commit comments

Comments
 (0)