🤖 Modern JavaScript: In-session Refactoring Lab
On your own, in groups or in pairs, work through the JavaScript files and refactor them using the suggested modern JavaScript method specified in the document.
You will need to fork and clone this repository to work through the solutions.
✅ Be sure to read the accompanying instructions in the md files
✅ If the exercise has tests, be sure to check the tests still pass after you've refactored the code! (💡 To do this, run npm test
!)
✅ Once completed, be ready to explain what you did back to the rest of the cohort.
We recommend working through the files in the order below:
👉 Fork and then clone this repo to your local computer
To install dependencies run:
npm install
To run the tests:
npm test
To run one specific test:
npm test file_name.js
💡 If you've not heard of the modern JavaScript method before, that's great! Google and read about the method before having a go at implementing it. The MDN docs are a great resource.
💡 Your understanding is the most important thing, so take your time.
💡 Researching, writing notes and solving problems yourself will help you learn the most.
💡 If you get stuck, ask one of the Tech Coaches and we'll jump in and help! 🙌