Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/teotimepacreau/loop-exercices-ii-day27-of-100daysofcode

Loop exercices part II of 30DaysOfJavascript
https://github.com/teotimepacreau/loop-exercices-ii-day27-of-100daysofcode

100daysofcode 30daysofjavascript loop loops reduce vanilla-javascript vanilla-js vanillajs

Last synced: about 4 hours ago
JSON representation

Loop exercices part II of 30DaysOfJavascript

Awesome Lists containing this project

README

        

# LoopExercices part II from 30DaysOfJavascript
https://github.com/Asabeneh/30-Days-Of-JavaScript/blob/master/06_Day_Loops/06_day_loops.md

# Learning
- understood why it's necessary to put return in map array method
- array of arrays thanks to map and []
- fill up an array with and condition and push
- used endsWith string method for first time
- find a biggest item with an empty string and a condition
- used array index to fill up a string with only first letter of array item
- reduce to combine to subArray to a string

# 🛠️
Vanilla Javascript