DEV Community

Discussion on: How The Hell Do I use Map?

Collapse
temmyraharjo profile image
temmyraharjo

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?
Collapse
liltechnomancer profile image
Levi ᕙ(⇀‸↼‶)ᕗ Author

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

Collapse
pavelloz profile image
Paweł Kowalski

While we are at typos catching :)

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