Skip to content

foundersandcoders/mc-diet-pattern-matching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diet Pattern Matching (Destructuring) Mini-Challenge ⚡

Clone this repo, open up index.js and follow the instructions to fix the four functions.

Make sure you only change the opening arguments of each function! Don't try to cheat the system, each argument is tested with more than one value.

To check your progress run npm i && npm run test - if any of the functions are functional you should see some lovely green ticks.

See the Mozilla guide to destructuring for a thorough introduction to destructuring.

About

A short JS challenge on destructuring ⚡

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages