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
The arr2 variable is defined as a const, but is supposed to be able to be redefined in the exercise.
Browser Information
Browser Name, Version: Google Chrome, Version 56.0.2924.87 (64-bit)
Operating System: OS X El Capitan 10.11.6
Mobile, Desktop, or Tablet: Desktop
Potential Solutions
There are 2 options to fix this challenge:
Remove the // change code below this line and // change code above this line so that the user can add the solution ...arr1 directly into arr2 instantiation.
Solution would be:
@Ethan-Arrowood we are removing MDN links in favor of having a hints feature for the challenges than simply pointing to a resource that users may find a bit daunting while learning.
Nevertheless thanks a lot for the issue, and your contributions.
Use the Spread Operator To Evaluate Arrays In-Place
https://beta.freecodecamp.com/en/challenges/es6/use-the-spread-operator-to-evaluate-arrays-inplace
Issue Description
The arr2 variable is defined as a const, but is supposed to be able to be redefined in the exercise.
Browser Information
Potential Solutions
There are 2 options to fix this challenge:
// change code below this line
and// change code above this line
so that the user can add the solution...arr1
directly intoarr2
instantiation.Solution would be:
arr2
to:let arr2 = [];
Solution would be:
Both of these solutions currently pass the given tests. I want to clean up this exercise so its easier to understand for users.
The text was updated successfully, but these errors were encountered: