In today’s exercise, I learned how to fetch all video lengths from a site and calculate the total duration of all videos. The exercise was mainly based on the functions map()
and reduce()
. The final code can be found on Day 18 – Adding Up Times with Reduce.
Resources: