I wanted to learn more about deconstructing arrays and objects, jest and tdd so I made this exercise file to help me and hopefully other people on their coding learning journey!
Covers:
- Deconstruction of Arrays and Objects
- Default Values
Install Jest using npm
:
npm install --save-dev jest
Add the following section to your package.json
:
{
"scripts": {
"test": "jest"
}
}
https://gist.github.com/szemate/a085b6e0e29bafaf7f754e32f7deb6c1