SyntaxFix
Write A Post
Hire A Developer
Questions
ES6:
const promise = new Promise(resolve => resolve('olá')); console.log(promise.toString().includes('Promise')); //true