Skip to content

techreturners/lm-lab-modern-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

45 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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

Contributors 2

  •  
  •