Source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises/contributors.txt