Skip to content

Commit b378583

Browse files
restructured
1 parent 9b47b5e commit b378583

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Chapter 13/Project_1.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ function login(password) {
99
if (passwordChecker(password)) {
1010
resolve({
1111
status: true
12-
})
12+
});
1313
} else {
1414
reject({
1515
status: false
16-
})
16+
});
1717
}
18-
})
18+
});
1919
}
2020

2121
function checker(pass) {
2222
login(pass)
2323
.then(token => {
2424
console.log("Approve:");
25-
console.log(token)
25+
console.log(token);
2626
})
2727
.catch(value => {
2828
console.log("Reject:");
29-
console.log(value)
29+
console.log(value);
3030
})
3131
}
3232
checker("1234");

0 commit comments

Comments
 (0)