Skip to content

Commit 34c38f3

Browse files
authored
fix(curriculum): specify parameter in forEach method callback function (freeCodeCamp#59540)
1 parent f584260 commit 34c38f3

File tree

1 file changed

+1
-1
lines changed
  • curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-intermediate-oop-by-building-a-platformer-game

1 file changed

+1
-1
lines changed

curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-intermediate-oop-by-building-a-platformer-game/64c9db021d4d912906878f3a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dashedName: step-79
77

88
# --description--
99

10-
Inside your condition, add a `forEach` loop to iterate through the `platforms` array.
10+
Inside your condition, add a `forEach` loop to iterate through the `platforms` array. Inside the callback function use `platform` for the parameter.
1111

1212
Inside the loop, use the subtraction assignment operator to subtract 5 from the platform's `x` position.
1313

0 commit comments

Comments
 (0)