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
This function and what it expects is really unclear. AND the tests pass if you just pass in one of the two functions (returnFirstTwoDrivers or returnLastTwoDrivers. And the suggested solution uses a function called whichDrivers, that isn't really clear, nor are the steps it would take to get there, and even the tech coach was stymied. Thanks for considering changing this for other students.
This code passed. The tech coach had suggested just adding in one of the functions first, to see what the response would be, and that's how we figured out it passed.
if the goal is for us to use the selectingDrivers array, then you should give students more of a hint about that, or move it to just before this final function. Then you should change the solution code. And also, it would be great to see in the lab or lesson whether we can include the two functions just as an array, with brackets, as an argument (it doesn't, but showing us how to destructure here, or emphasizing the pattern of putting multiple functions into an array to pass in would be really helpful).
solution code to be changed to make things easier to understand
screenshot of functions in bracketed array:
The text was updated successfully, but these errors were encountered:
Thank you for spotting this issue and providing feedback. The lesson has been updated to clarify the requirements.
We apologize for any frustration you might have encountered during this process but thank you for helping us ensure that those who follow in your path will not encounter the same problems that you faced.
Thank you for contributing to the Flatiron School curriculum. 💙
This function and what it expects is really unclear. AND the tests pass if you just pass in one of the two functions (returnFirstTwoDrivers or returnLastTwoDrivers. And the suggested solution uses a function called whichDrivers, that isn't really clear, nor are the steps it would take to get there, and even the tech coach was stymied. Thanks for considering changing this for other students.
This code passed. The tech coach had suggested just adding in one of the functions first, to see what the response would be, and that's how we figured out it passed.
if the goal is for us to use the selectingDrivers array, then you should give students more of a hint about that, or move it to just before this final function. Then you should change the solution code. And also, it would be great to see in the lab or lesson whether we can include the two functions just as an array, with brackets, as an argument (it doesn't, but showing us how to destructure here, or emphasizing the pattern of putting multiple functions into an array to pass in would be really helpful).
solution code to be changed to make things easier to understand
screenshot of functions in bracketed array:
The text was updated successfully, but these errors were encountered: