scripts.js:354 Uncaught TypeError: Promise resolver undefined is not a function at new Promise (<anonymous>) code example
Example: TypeError: Promise resolver undefined is not a function
// Instead of this
const promise = new Promise()
// do this
const promise = new Promise(() => {})