Skip to content

Commit 969d5b3

Browse files
committed
Edit Native prototypes
1 parent f6ff22e commit 969d5b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

1-js/08-prototypes/03-native-prototypes/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ alert(obj); // "[object Object]" ?
1717

1818
...ولكن الصيغة `obj = {}` هي نفسها هذه الصيغة `obj = new Object()`، حيث أن `Object` هو دالة بانية للكائنات موجودة بالفعل والتى تحتوى على الخاصية `prototype` التى تحتوى على مرجع لكائن ضخم يحتوى على الدالة `toString` ودوال أخري.
1919

20-
هاهنا ما يحدث:
20+
إليك ما يحدث:
2121

2222
![](object-prototype.svg)
2323

0 commit comments

Comments
 (0)