pull/274/head
josedallatorre 4 years ago
parent 97f84bf65f
commit 741a956890
No known key found for this signature in database
GPG Key ID: 25059347C01C3AA0

@ -147,7 +147,7 @@ Let us another example when the promise is settled with reject.
const doPromise = new Promise((resolve, reject) => {
setTimeout(() => {
const skills = ['HTML', 'CSS', 'JS']
if (skills.icludes('Node')) {
if (skills.includes('Node')) {
resolve('fullstack developer')
} else {
reject('Something wrong has happened')

Loading…
Cancel
Save