O'Reilly logo
  • M J thinks this is interesting:

isAvailable

From

Cover of JavaScript : Moving to ES2015

Note

this should be this.isAvailable

otherwise the function is referring to a global variable