re: How The Hell Do I use Map? VIEW POST

FULL DISCUSSION
 

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?
 

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

 

While we are at typos catching :)

cosnt scores = [90, 80, 25, 50]
code of conduct - report abuse