Skip to content

Commit 40e941e

Browse files
committed
minor fixes
1 parent ce8e68f commit 40e941e

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

1-js/07-object-properties/02-property-accessors/article.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,7 @@ alert(user.name); // Alice
9494
alert(user.surname); // Cooper
9595
```
9696

97-
As the result, we have a "virtual" property `fullName`. It is readable and writable, but in fact does not exist.
98-
99-
```smart header="No way to handle `delete`"
100-
There's no similar method to handle deletion of an accessor property. Only getter/setter methods may exist.
101-
```
97+
As the result, we have a "virtual" property `fullName`. It is readable and writable.
10298

10399
## Accessor descriptors
104100

1-js/13-modules/02-import-export/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For instance, here all exports are valid:
2626
```
2727

2828
````smart header="No semicolons after export class/function"
29-
Please note that `export` before a class or a function does not make it a [function expression](info:function-expressions-arrows). It's still a function declaration, albeit exported.
29+
Please note that `export` before a class or a function does not make it a [function expression](info:function-expressions). It's still a function declaration, albeit exported.
3030
3131
Most JavaScript style guides don't recommend semicolons after function and class declarations.
3232

0 commit comments

Comments
 (0)