Conversation
|
Lisa, One suggestion I have is to try to avoid traditional for-loops whenever possible. Those are not considered best practice for JavaScript unless there is no other way to accomplish the task. In your 'graph.js' file, you used a traditional for-loop three times. I was able to convert each of those into a functional form successfully (maintaining all tests passing). The first and third were pretty straightforward. The second, contains, was a little tricky, and will not work with forEach. See if you can refactor graphs.js to eliminate the traditional for-loops and use functional methods instead. If you any questions, please reach I'd anytime. Wesley |
|
Lisa, Wesley |
No description provided.