DEV Community

Discussion on: How The Hell Do I use Map?

temmyraharjo profile image

Nice article Levi. But now i'm stuck using old school javascript because of my users still use IE 9. :'(

Just little bit input:

  • When declaring the students, you forgot to put ',' between name and grade.
  • on isPassing method why not make it shorter to (student) => student.grade >= 65 only?
liltechnomancer profile image
Levi ᕙ(⇀‸↼‶)ᕗ Author

Ooh good catch on both! I’ll need to edit this when I can!

pavelloz profile image
Paweł Kowalski

While we are at typos catching :)

cosnt scores = [90, 80, 25, 50]