JavaScript Exercise for Week 4