freeCodeCamp: Array.prototype.includes() not supported by IE

When visiting beta through IE, the site is unusable. There are two instances of includes in the code base outside of the gulp file, and two solutions for fixing this.

  1. Add a polyfill for Array.prototype.includes() or
  2. Refactor to remove Array.prototype.includes()

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

@Bouncey This may be thinking a bit too far down the line, but I’ve been aware of this for some time since @bonham000 and I ran into this issue when we were developing the React curriculum. Several of those challenges err… include includes() 😄

So I guess my point is, maybe a polyfill is the best solution?