Add semicolon

This commit is contained in:
Shreenanda 2021-03-15 06:48:10 +05:30 committed by GitHub
parent e01998baf8
commit b96642dd20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ Replace Function Expressions with arrow functions in the code below:
```js run ```js run
function ask(question, yes, no) { function ask(question, yes, no) {
if (confirm(question)) yes() if (confirm(question)) yes();
else no(); else no();
} }