Skip to content

Commit f247543

Browse files
bewuethrmarijnh
authored andcommitted
Remove spurious quotes/commas
The Egg program that tests the new `set` function contains extra `",` at the end of three lines, which throws a `SyntaxError`; this commit removes them.
1 parent bed46bf commit f247543

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/solutions/12_4_fixing_scope.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ specialForms.set = (args, env) => {
1515
};
1616

1717
run(`
18-
do(define(x, 4),",
19-
define(setx, fun(val, set(x, val))),",
20-
setx(50),",
18+
do(define(x, 4),
19+
define(setx, fun(val, set(x, val))),
20+
setx(50),
2121
print(x))
2222
`);
2323
// → 50

0 commit comments

Comments
 (0)