Skip to content

Commit

Permalink
Update javascript-quiz.md (#2067)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manas1820 committed Aug 15, 2021
1 parent ee87e3c commit 85e9152
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions javascript/javascript-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -897,3 +897,33 @@ const foo = {
- [ ] Trailing commas are not allowed in JavaScript.
- [ ] Functions cannot be declared as properties of objects.
- [x] Nothing, there are no errors.
#### Q83. What wil be logged to the console?
```js
console.log("I");
setTimeout(() => {
console.log("love")
}, 0);
console.log("Javascript!");
```
- [x]
```
I
Javascript!
love
```
- [ ]
```
love
I
Javascript!
```
- [ ] The output may change with each execution of code and cannot be determined.
- [ ]
```
I
love
Javascript!
```

0 comments on commit 85e9152

Please sign in to comment.