You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/exercises/08-more-arrays-exercises.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -166,19 +166,19 @@ The following lines should help test if your function works correctly. They shou
166
166
167
167
process.stdout.write('\n*8·34.\n');
168
168
/*
169
-
*8·34. Create a function called 'makeSquares' that takes an array of numbers and returns an array of squares. A square is an array of two numbers: [length, width].
169
+
*8·34. Create a function called 'makeRectangles' that takes an array of numbers and returns an array of rectangles, where a rectangle is an array of two numbers: [length, width].
170
170
171
171
The following lines should help test if your function works correctly. They should print true.
Copy file name to clipboardExpand all lines: src/exercises/08-more-arrays-solutions.js
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -247,19 +247,19 @@ console.log(eqArrays(
247
247
248
248
process.stdout.write('\n*8·34.\n');
249
249
/*
250
-
*8·34. Create a function called 'makeSquares' that takes an array of numbers and returns an array of squares. A square is an array of two numbers: [length, width].
250
+
*8·34. Create a function called 'makeRectangles' that takes an array of numbers and returns an array of rectangles, where a rectangle is an array of two numbers: [length, width].
251
251
252
252
The following lines should help test if your function works correctly. They should print true.
0 commit comments