Skip to content

Modern JavaScript: An in-session modern JS lab

Notifications You must be signed in to change notification settings

sairamya93/lm-lab-modern-js

 
 

Repository files navigation

Modern JavaScript

🤖 Modern JavaScript: In-session JavaScript Lab

Instructions

On your own, in groups or in pairs, work through the JavaScript files and re-write 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

✅ Remember 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 changed the code! (💡 To do this, run npm test!)

✅ Once completed, be ready to explain what you did back to the rest of the cohort

Contents

We recommend working through the files in the order below:

  1. Functions

  2. Variables

  3. Default Parameters

  4. Destructuring Arrays

  5. Destructuring Objects

  6. Rest Parameters

  7. Spread Syntax

  8. Template Literals

  9. Ternaries

  10. Imperative vs Declarative Programming

Getting started

👉 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

Tips and Tricks

💡 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! 🙌

About

Modern JavaScript: An in-session modern JS lab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%