Skip to content

Commit 43ddeb6

Browse files
authored
Merge pull request lydiahallie#129 from gabrielsroka/patch-2
Update README.md
2 parents b649fbd + 5977150 commit 43ddeb6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
I post daily multiple choice JavaScript questions on my [Instagram](https://www.instagram.com/theavocoder), which I'll also post here!
44

5-
From basic to advanced: test how well you know JavaScript, refresh your knowledge a bit, or prepare for your coding interview! :muscle: :rocket: I update this repo weekly with new questions. Last update: <b>June 29th</b>
5+
From basic to advanced: test how well you know JavaScript, refresh your knowledge a bit, or prepare for your coding interview! :muscle: :rocket: I update this repo weekly with new questions. Last update: <a href=#20190629><b>June 29th</b></a>
66

77
The answers are in the collapsed sections below the questions, simply click on them to expand it. Good luck :heart:
88

@@ -1659,7 +1659,7 @@ However, we created a global variable `y` when setting `y` equal to `10`. This v
16591659

16601660
---
16611661

1662-
###### 55. What's the output?
1662+
###### <a name=20190629></a>55. What's the output?
16631663

16641664
```javascript
16651665
class Dog {
@@ -1783,7 +1783,7 @@ console.log(delete age);
17831783

17841784
#### Answer: A
17851785

1786-
The `delete` operator returns a boolena value: `true` on a successful deletion, else it'll return `false`. However, variables declared with the `var`, `const` or `let` keyword cannot be deleted using the `delete` operator.
1786+
The `delete` operator returns a boolean value: `true` on a successful deletion, else it'll return `false`. However, variables declared with the `var`, `const` or `let` keyword cannot be deleted using the `delete` operator.
17871787

17881788
The `name` variable was declared with a `const` keyword, so its deletion is not successful: `false` is returned. When we set `age` equal to `21`, we actually added a property called `age` to the global object. You can successfully delete properties from objects this way, also the global object, so `delete age` returns `true`.
17891789

@@ -1811,7 +1811,7 @@ console.log(y);
18111811

18121812
#### Answer: C
18131813

1814-
We can unpack values from arrays or properties from objects through destructing. For example:
1814+
We can unpack values from arrays or properties from objects through destructuring. For example:
18151815

18161816
```javascript
18171817
[a, b] = [1, 2];

0 commit comments

Comments
 (0)