Merge pull request #2520 from shreenanda-8/master
Add missing semicolon
This commit is contained in:
commit
f5583eb477
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
```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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue