🏋️‍♂️ Javascript Exercices

Installation

Make sure you have node and npm installed and run the following command:

npm install

Run the project

Run the following command:

npm run dev

Exercices

Inside the exercices.js file you will find some exercices to solve.

You should add your code bellow each comment:

const numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

/// 1. Filter the array to only keep numbers higher than 2
const exercices1 = numbers.filter((number) => number > 2);
// if you need to test the result you can do
console.log(exercices1);

⚠️ You are not suppose to see the results in the browser, instead you should open the browser console and see the result.

How to submit your results

Create a branch with your name and open a pull request.