https://videosashka.com/watch/5mLfeyypDIg/how-map-and-reduce-array-method-works-in-javascript