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 e4622c2

Browse files
committed
docs(oop/strict): fixed typo
1 parent 2500a08 commit e4622c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/oop/strict.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function notStrict() {
108108
```javascript
109109
// 对只读属性赋值会报错
110110
'use strict';
111-
Object.defineProperty({}, 'a', {
111+
var obj =Object.defineProperty({}, 'a', {
112112
value: 37,
113113
writable: false
114114
});

0 commit comments

Comments
(0)

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