Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5dff42b

Browse files
committed
closes #3222
1 parent a4050f2 commit 5dff42b

File tree

1 file changed

+1
-1
lines changed
  • 1-js/07-object-properties/01-property-descriptors

1 file changed

+1
-1
lines changed

‎1-js/07-object-properties/01-property-descriptors/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ user.name = "Pete"; // Error: Cannot assign to read only property 'name'
123123
Now no one can change the name of our user, unless they apply their own `defineProperty` to override ours.
124124

125125
```smart header="Errors appear only in strict mode"
126-
In the non-strict mode, no errors occur when writing to non-writable properties and such. But the operation still won't succeed. Flag-violating actions are just silently ignored in non-strict.
126+
In non-strict mode, no errors occur when writing to non-writable properties and such. But the operation still won't succeed. Flag-violating actions are just silently ignored in non-strict.
127127
```
128128

129129
Here's the same example, but the property is created from scratch:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /