Skip to content

Commit e232dd3

Browse files
committed
Integrate tech editing for Chapter 12
1 parent ad92d27 commit e232dd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/solutions/12_1_arrays.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
topEnv.array = (...values) => values;
1+
topScope.array = (...values) => values;
22

3-
topEnv.length = array => array.length;
3+
topScope.length = array => array.length;
44

5-
topEnv.element = (array, i) => array[i];
5+
topScope.element = (array, i) => array[i];
66

77
run(`
88
do(define(sum, fun(array,

0 commit comments

Comments
 (0)