Skip to content

Commit d69717d

Browse files
committed
fix: typo
1 parent 1609e9c commit d69717d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

F25/koans/the_same_picture/byo_generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ for(const n of generator1) { // 4, ..., 10
4343
(2) Each time we call buildOneToTen(), it's a different call and so a different variable
4444
that's shared by all calls to the function it returns.
4545
46-
In FP terminology, we say that the inner function "closes" the non-local variable. This
46+
In FP terminology, we say that the inner function "closes over" the non-local variable. This
4747
is why you might hear anonymous functions referred to as "closures".
4848
*/
4949

0 commit comments

Comments
 (0)