Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/teotimepacreau/array-methods-exercices-iii-day28-of-100daysofcode

Array methods Exercices part III from #30DaysOfJavascript
https://github.com/teotimepacreau/array-methods-exercices-iii-day28-of-100daysofcode

30daysofjavascript arraymethods javascript vanilla-javascript vanilla-js vanillajs

Last synced: about 4 hours ago
JSON representation

Array methods Exercices part III from #30DaysOfJavascript

Awesome Lists containing this project

README

        

# Array methods Exercices part III from #30DaysOfJavascript
https://github.com/Asabeneh/30-Days-Of-JavaScript/blob/master/05_Day_Arrays/05_day_arrays.md#exercise-level-3

# Learning
- array destructuring with... in order to use Math.min() and Math.max() (because they only works on numbers and not on an array)
- reduce in order to calculate a sum of elements necessary to an average
- Math.abs() to get only absolute numbers (positive)
- ternary operator to compare two values

# 🛠️
Vanilla Javascript