Skip to content

Commit

Permalink
index
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoonz committed Mar 13, 2022
1 parent b400667 commit 7a7eef2
Show file tree
Hide file tree
Showing 7 changed files with 523 additions and 6,751 deletions.
12 changes: 6 additions & 6 deletions src/pages/blog/interview-questions-js-p2.md
Original file line number Diff line number Diff line change
Expand Up @@ -6133,7 +6133,7 @@ function Vehicle(model, color, year, country) {
this.year = year;
this.country = country;
}
`
```
- Undefined
- 2: ReferenceError
Expand Down Expand Up @@ -6696,7 +6696,7 @@ if ([0]) {
} else {
console.log("I'm False");
}
`
```
- True, I'm True
- 2: True, I'm False
Expand Down Expand Up @@ -7123,7 +7123,7 @@ if (!typeof myString === 'number') {
} else {
console.log('It is a number!');
}
`
```
- SyntaxError
- 2: It is not a string!, It is not a number!
Expand Down Expand Up @@ -7644,7 +7644,7 @@ for (const value of myGenerator) {
for (const value of myGenerator) {
console.log(value);
}
`
```
- 1,2,3 and 1,2,3
- 2: 1,2,3 and 4,5,6
Expand Down Expand Up @@ -7706,7 +7706,7 @@ class Square {
this.area = value;
}
}
`
```
- 1: 100
- 2: ReferenceError
Expand Down Expand Up @@ -7894,7 +7894,7 @@ if (zero) {
} else {
console.log('Else');
}
`
```
- If
- 2: Else
Expand Down
Loading

1 comment on commit 7a7eef2

@vercel
Copy link

@vercel vercel bot commented on 7a7eef2 Mar 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.