{"id":16018,"date":"2024-08-09T01:08:39","date_gmt":"2024-08-08T21:38:39","guid":{"rendered":"https:\/\/www.itpiran.net\/blog\/?p=16018"},"modified":"2024-08-09T01:08:39","modified_gmt":"2024-08-08T21:38:39","slug":"object_prototypes","status":"publish","type":"post","link":"https:\/\/www.itpiran.net\/blog\/tr\/tutorials\/object_prototypes\/","title":{"rendered":"JavaScript&#039;te Nesne Prototipleri"},"content":{"rendered":"<h2 id=\"%d9%85%d9%82%d8%af%d9%85%d9%87\">\u0645\u0642\u062f\u0645\u0647<\/h2>\n<p>&nbsp;<\/p>\n<p>\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0645\u06a9\u0627\u0646\u06cc\u0632\u0645\u06cc \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062a\u0648\u0633\u0637 \u0622\u0646 \u0627\u0634\u06cc\u0627\u0621 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u0631\u0627 \u0627\u0632 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0628\u0647 \u0627\u0631\u062b \u0645\u06cc \u0628\u0631\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645 \u06a9\u0647 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0686\u06cc\u0633\u062a\u060c \u0632\u0646\u062c\u06cc\u0631\u0647\u200c\u0647\u0627\u06cc \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0686\u06af\u0648\u0646\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u0648 \u0686\u06af\u0648\u0646\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0628\u0631\u0627\u06cc \u06cc\u06a9 \u0634\u06cc \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\n<h5 id=\"%d9%be%db%8c%d8%b4-%d9%86%db%8c%d8%a7%d8%b2%d9%87%d8%a7\">\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627<\/h5>\n<p>\u062f\u0631\u06a9 \u062a\u0648\u0627\u0628\u0639 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u060c \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0645\u0628\u0627\u0646\u06cc \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a (\u0628\u0647 \u0645\u0631\u0627\u062d\u0644 \u0627\u0648\u0644\u06cc\u0647 \u0648 \u0628\u0644\u0648\u06a9 \u0647\u0627\u06cc \u0633\u0627\u062e\u062a\u0645\u0627\u0646 \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f)\u060c \u0648 \u0627\u0635\u0648\u0644 OOJS (\u0628\u0647 \u0645\u0642\u062f\u0645\u0647 \u0627\u0634\u06cc\u0627\u0621 \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f).<\/p>\n<h2 id=\"%d8%b2%d9%86%d8%ac%db%8c%d8%b1%d9%87-%d9%86%d9%85%d9%88%d9%86%d9%87-%d8%a7%d9%88%d9%84%db%8c%d9%87\">\u0632\u0646\u062c\u06cc\u0631\u0647 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647<\/h2>\n<p>\u062f\u0631 \u06a9\u0646\u0633\u0648\u0644 \u0645\u0631\u0648\u0631\u06af\u0631\u060c \u0633\u0639\u06cc \u06a9\u0646\u06cc\u062f \u06cc\u06a9 \u0634\u06cc \u0628\u0647 \u0645\u0639\u0646\u0627\u06cc \u0648\u0627\u0642\u0639\u06cc \u06a9\u0644\u0645\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const myObject = {\r\ncity: \"Madrid\",\r\ngreet() {\r\nconsole.log(`Greetings from ${this.city}`);\r\n},\r\n};\r\nmyObject.greet(); \/\/ Greetings from Madrid<\/code><\/pre>\n<\/div>\n<p>\u0627\u06cc\u0646 \u06cc\u06a9 \u0634\u06cc \u0628\u0627 \u06cc\u06a9 \u0648\u06cc\u0698\u06af\u06cc \u062f\u0627\u062f\u0647\u060c \u0634\u0647\u0631\u060c \u0648 \u06cc\u06a9 \u0645\u062a\u062f\u060c greet() \u0627\u0633\u062a. \u0627\u06af\u0631 \u0646\u0627\u0645 \u0634\u06cc \u0648 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0622\u0646 \u06cc\u06a9 \u0646\u0642\u0637\u0647 \u0631\u0627 \u062f\u0631 \u06a9\u0646\u0633\u0648\u0644 \u062a\u0627\u06cc\u067e \u06a9\u0646\u06cc\u062f\u060c \u0645\u0627\u0646\u0646\u062f myObject.\u060c \u06a9\u0646\u0633\u0648\u0644 \u0644\u06cc\u0633\u062a\u06cc \u0627\u0632 \u062a\u0645\u0627\u0645 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0634\u06cc \u0631\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc \u062f\u0647\u062f. \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u06cc\u062f \u06a9\u0647 \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0634\u0647\u0631 \u0648 \u0633\u0644\u0627\u0645\u060c \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u062e\u0648\u0627\u0635 \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0632 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f!<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>__defineGetter__\r\n__defineSetter__\r\n__lookupGetter__\r\n__lookupSetter__\r\n__proto__\r\ncity\r\nconstructor\r\ngreet\r\nhasOwnProperty\r\nisPrototypeOf\r\npropertyIsEnumerable\r\ntoLocaleString\r\ntoString\r\nvalueOf<\/code><\/pre>\n<\/div>\n<p>\u0633\u0639\u06cc \u06a9\u0646\u06cc\u062f \u0628\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u0622\u0646\u0647\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>myObject.toString(); \/\/ \"[object Object]\"\r\n<\/code><\/pre>\n<\/div>\n<p>\u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f (\u062d\u062a\u06cc \u0627\u06af\u0631 \u0645\u0634\u062e\u0635 \u0646\u0628\u0627\u0634\u062f \u06a9\u0647 ()toString \u0686\u0647 \u0645\u06cc \u06a9\u0646\u062f).<\/p>\n<p>\u0627\u06cc\u0646 \u062e\u0648\u0627\u0635 \u0627\u0636\u0627\u0641\u06cc \u0686\u06cc\u0633\u062a \u0648 \u0627\u0632 \u06a9\u062c\u0627 \u0645\u06cc \u0622\u06cc\u0646\u062f\u061f<\/p>\n<p>\u0647\u0631 \u0634\u06cc \u062f\u0631 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u062f\u0627\u0631\u0627\u06cc \u06cc\u06a9 \u0648\u06cc\u0698\u06af\u06cc \u062f\u0627\u062e\u0644\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0622\u0646 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0645\u06cc \u06af\u0648\u06cc\u0646\u062f. \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0628\u0647 \u062e\u0648\u062f\u06cc \u062e\u0648\u062f \u06cc\u06a9 \u0634\u06cc \u0627\u0633\u062a\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u062e\u0648\u062f \u0631\u0627 \u062e\u0648\u0627\u0647\u062f \u062f\u0627\u0634\u062a \u0648 \u0686\u06cc\u0632\u06cc \u0631\u0627 \u06a9\u0647 \u06cc\u06a9 \u0632\u0646\u062c\u06cc\u0631\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0646\u0627\u0645\u06cc\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f\u060c \u0645\u06cc \u0633\u0627\u0632\u062f. \u0627\u06cc\u0646 \u0632\u0646\u062c\u06cc\u0631\u0647 \u0632\u0645\u0627\u0646\u06cc \u0628\u0647 \u067e\u0627\u06cc\u0627\u0646 \u0645\u06cc \u0631\u0633\u062f \u06a9\u0647 \u0628\u0647 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0628\u0631\u0633\u06cc\u0645 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u062e\u0648\u062f null \u062f\u0627\u0631\u062f.<\/p>\n<p><span style=\"color: #ff0000;\">\u0646\u06a9\u062a\u0647: \u0628\u0647 \u062e\u0627\u0635\u06cc\u062a \u06cc\u06a9 \u0634\u06cc \u06a9\u0647 \u0628\u0647 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0622\u0646 \u0627\u0634\u0627\u0631\u0647 \u0645\u06cc \u06a9\u0646\u062f\u060c \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0646\u0645\u06cc \u06af\u0648\u06cc\u0646\u062f. \u0646\u0627\u0645 \u0622\u0646 \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u0646\u06cc\u0633\u062a\u060c \u0627\u0645\u0627 \u062f\u0631 \u0639\u0645\u0644 \u0647\u0645\u0647 \u0645\u0631\u0648\u0631\u06af\u0631\u0647\u0627 \u0627\u0632 __proto__ \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f. \u0631\u0648\u0634 \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u06cc\u06a9 \u0634\u06cc\u060c \u0645\u062a\u062f ()Object.getPrototypeOf \u0627\u0633\u062a.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0633\u0639\u06cc \u0645\u06cc \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0648\u06cc\u0698\u06af\u06cc \u06cc\u06a9 \u0634\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f: \u0627\u06af\u0631 \u0648\u06cc\u0698\u06af\u06cc \u062f\u0631 \u062e\u0648\u062f \u0634\u06cc \u067e\u06cc\u062f\u0627 \u0646\u0634\u0648\u062f\u060c \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0628\u0631\u0627\u06cc \u0648\u06cc\u0698\u06af\u06cc \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc \u0634\u0648\u062f. \u0627\u06af\u0631 \u0647\u0646\u0648\u0632 \u062e\u0627\u0635\u06cc\u062a \u067e\u06cc\u062f\u0627 \u0646\u0634\u062f\u060c \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0646\u0645\u0648\u0646\u0647 \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062a\u0631\u062a\u06cc\u0628 \u062a\u0627 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u062e\u0627\u0635\u06cc\u062a \u067e\u06cc\u062f\u0627 \u0634\u0648\u062f \u06cc\u0627 \u0628\u0647 \u0627\u0646\u062a\u0647\u0627\u06cc \u0632\u0646\u062c\u06cc\u0631\u0647 \u0628\u0631\u0633\u062f\u060c \u062f\u0631 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a undefined \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<p>\u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0648\u0642\u062a\u06cc myObject.toString() \u0631\u0627 \u0641\u0631\u0627 \u0645\u06cc\u200c\u062e\u0648\u0627\u0646\u06cc\u0645\u060c \u0645\u0631\u0648\u0631\u06af\u0631:<\/p>\n<ul>\n<li>\u0628\u0647 \u062f\u0646\u0628\u0627\u0644 toString \u062f\u0631 myObject \u0645\u06cc \u06af\u0631\u062f\u062f<\/li>\n<li>\u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u0645 \u0622\u0646 \u0631\u0627 \u062f\u0631 \u0622\u0646\u062c\u0627 \u067e\u06cc\u062f\u0627 \u06a9\u0646\u0645\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u062f\u0631 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0634\u06cc myObject \u0628\u0631\u0627\u06cc toString \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc \u06a9\u0646\u062f<\/li>\n<li>\u0622\u0646 \u0631\u0627 \u062f\u0631 \u0622\u0646\u062c\u0627 \u067e\u06cc\u062f\u0627 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0628\u0627 \u0622\u0646 \u062a\u0645\u0627\u0633 \u0645\u06cc \u06af\u06cc\u0631\u062f.<\/li>\n<\/ul>\n<p>\u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0628\u0631\u0627\u06cc myObject \u0686\u06cc\u0633\u062a\u061f \u0628\u0631\u0627\u06cc \u0641\u0647\u0645\u06cc\u062f\u0646\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 \u0627\u0632 \u062a\u0627\u0628\u0639 Object.getPrototypeOf():<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>Object.getPrototypeOf(myObject); \/\/ Object { }\r\n<\/code><\/pre>\n<\/div>\n<p>\u0627\u06cc\u0646 \u06cc\u06a9 \u0634\u06cc \u0628\u0647 \u0646\u0627\u0645 Object.prototype \u0627\u0633\u062a \u0648 \u0627\u0628\u062a\u062f\u0627\u06cc\u06cc \u062a\u0631\u06cc\u0646 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0647\u0645\u0647 \u0627\u0634\u06cc\u0627 \u0628\u0647 \u0637\u0648\u0631 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u062f\u0627\u0631\u0646\u062f. \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 Object.prototype \u067e\u0648\u0686 \u0627\u0633\u062a\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u062f\u0631 \u0627\u0646\u062a\u0647\u0627\u06cc \u0632\u0646\u062c\u06cc\u0631\u0647 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f:<\/p>\n<p><img  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Learn\/JavaScript\/Objects\/Object_prototypes\/myobject-prototype-chain.svg\"  class=\" pk-lazyload\"  data-pk-sizes=\"auto\"  data-pk-src=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Learn\/JavaScript\/Objects\/Object_prototypes\/myobject-prototype-chain.svg\" ><\/p>\n<p>\u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u06cc\u06a9 \u0634\u06cc \u0647\u0645\u06cc\u0634\u0647 Object.prototype \u0646\u06cc\u0633\u062a. \u0627\u06cc\u0646 \u0631\u0627 \u0627\u0645\u062a\u062d\u0627\u0646 \u06a9\u0646:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const myDate = new Date();\r\nlet object = myDate;\r\ndo {\r\nobject = Object.getPrototypeOf(object);\r\nconsole.log(object);\r\n} while (object);\r\n\/\/ Date.prototype\r\n\/\/ Object { }\r\n\/\/ null<\/code><\/pre>\n<\/div>\n<p>\u0627\u06cc\u0646 \u06a9\u062f \u06cc\u06a9 \u0634\u06cc Date \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u062f\u060c \u0633\u067e\u0633 \u0632\u0646\u062c\u06cc\u0631\u0647 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0631\u0627 \u0628\u0627\u0644\u0627 \u0645\u06cc \u0628\u0631\u062f \u0648 \u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0631\u0627 \u062b\u0628\u062a \u0645\u06cc \u06a9\u0646\u062f. \u0628\u0647 \u0645\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 myDate \u06cc\u06a9 \u0634\u06cc Date.prototype \u0627\u0633\u062a \u0648 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0622\u0646 Object.prototype \u0627\u0633\u062a.<\/p>\n<p><img  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Learn\/JavaScript\/Objects\/Object_prototypes\/mydate-prototype-chain.svg\"  class=\" pk-lazyload\"  data-pk-sizes=\"auto\"  data-pk-src=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Learn\/JavaScript\/Objects\/Object_prototypes\/mydate-prototype-chain.svg\" ><\/p>\n<p>\u062f\u0631 \u0648\u0627\u0642\u0639\u060c \u0648\u0642\u062a\u06cc \u0645\u062a\u062f\u0647\u0627\u06cc \u0622\u0634\u0646\u0627 \u0631\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0645\u0627\u0646\u0646\u062f myDate2.getTime()\u060c \u0645\u062a\u062f\u06cc \u0631\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u062f\u0631 Date.prototype \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<h2 id=\"%d8%ae%d9%88%d8%a7%d8%b5-%d8%b3%d8%a7%db%8c%d9%87-%d8%b2%d9%86%db%8c\">\u062e\u0648\u0627\u0635 \u0633\u0627\u06cc\u0647 \u0632\u0646\u06cc<\/h2>\n<p>\u0686\u0647 \u0627\u062a\u0641\u0627\u0642\u06cc \u0645\u06cc\u200c\u0627\u0641\u062a\u062f \u0627\u06af\u0631 \u06cc\u06a9 \u062e\u0627\u0635\u06cc\u062a \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u0634\u06cc \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u062f\u060c \u0648\u0642\u062a\u06cc \u06cc\u06a9 \u0648\u06cc\u0698\u06af\u06cc \u0628\u0627 \u0647\u0645\u0627\u0646 \u0646\u0627\u0645 \u062f\u0631 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0634\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0634\u0648\u062f\u061f \u0627\u062c\u0627\u0632\u0647 \u0628\u062f\u06cc\u062f \u0628\u0628\u06cc\u0646\u0645:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const myDate = new Date(1995, 11, 17);\r\nconsole.log(myDate.getTime()); \/\/ 819129600000\r\nmyDate.getTime = function () {\r\nconsole.log(\"something else!\");\r\n};\r\nmyDate.getTime(); \/\/ 'something else!'<\/code><\/pre>\n<\/div>\n<p>\u0627\u06cc\u0646 \u0628\u0627\u06cc\u062f \u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u062a\u0648\u0635\u06cc\u0641 \u0632\u0646\u062c\u06cc\u0631\u0647 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0642\u0627\u0628\u0644 \u067e\u06cc\u0634 \u0628\u06cc\u0646\u06cc \u0628\u0627\u0634\u062f. \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0645\u0627 getTime() \u0631\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u06cc\u0645\u060c \u0645\u0631\u0648\u0631\u06af\u0631 \u0627\u0628\u062a\u062f\u0627 \u062f\u0631 myDate \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0648\u06cc\u0698\u06af\u06cc \u0628\u0627 \u0622\u0646 \u0646\u0627\u0645 \u0645\u06cc \u06af\u0631\u062f\u062f \u0648 \u062a\u0646\u0647\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 myDate \u0622\u0646 \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u0646\u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u062f. \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0648\u0642\u062a\u06cc getTime() \u0631\u0627 \u0628\u0647 myDate \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645\u060c \u0646\u0633\u062e\u0647 \u0645\u0648\u062c\u0648\u062f \u062f\u0631 myDate \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u0628\u0647 \u0627\u06cc\u0646 \u0645\u06cc \u06af\u0648\u06cc\u0646\u062f &#8220;\u0633\u0627\u06cc\u0647 \u0632\u062f\u0646&#8221; \u0645\u0644\u06a9.<\/p>\n<h2 id=\"%d8%aa%d9%86%d8%b8%db%8c%d9%85-%db%8c%da%a9-%d9%86%d9%85%d9%88%d9%86%d9%87-%d8%a7%d9%88%d9%84%db%8c%d9%87\">\u062a\u0646\u0638\u06cc\u0645 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647<\/h2>\n<p>\u0631\u0627\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u06cc\u06a9 \u0634\u06cc \u062f\u0631 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f\u060c \u0648 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u062f\u0648 \u0645\u0648\u0631\u062f \u0631\u0627 \u0634\u0631\u062d \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645: Object.create() \u0648 \u0633\u0627\u0632\u0646\u062f\u0647.<\/p>\n<h5 id=\"%d8%a8%d8%a7-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-object-create\">\u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Object.create<\/h5>\n<p>\u0645\u062a\u062f Object.create() \u06cc\u06a9 \u0634\u06cc \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u06cc\u06a9 \u0634\u06cc \u0631\u0627 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0634\u06cc \u062c\u062f\u06cc\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u06cc\u06a9 \u0645\u062b\u0627\u0644 \u0627\u0633\u062a:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const personPrototype = {\r\ngreet() {\r\nconsole.log(\"hello!\");\r\n},\r\n};\r\nconst carl = Object.create(personPrototype);\r\ncarl.greet(); \/\/ hello!<\/code><\/pre>\n<\/div>\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u06cc\u06a9 \u0634\u06cc personPrototype \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u062f\u0627\u0631\u0627\u06cc \u0645\u062a\u062f greet() \u0627\u0633\u062a. \u0633\u067e\u0633 \u0627\u0632 Object.create() \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u0634\u06cc \u062c\u062f\u06cc\u062f \u0628\u0627 personPrototype \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u0627\u06a9\u0646\u0648\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 greet() \u0631\u0627 \u0631\u0648\u06cc \u0634\u06cc \u062c\u062f\u06cc\u062f \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0646 \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n<h5 id=\"%d8%a8%d8%a7-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b3%d8%a7%d8%b2%d9%86%d8%af%d9%87\">\u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0633\u0627\u0632\u0646\u062f\u0647<\/h5>\n<p>\u062f\u0631 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u060c \u0647\u0645\u0647 \u062a\u0648\u0627\u0628\u0639 \u062f\u0627\u0631\u0627\u06cc \u06cc\u06a9 \u0648\u06cc\u0698\u06af\u06cc \u0628\u0647 \u0646\u0627\u0645 \u067e\u0631\u0648\u062a\u0648\u062a\u0627\u06cc\u067e \u0647\u0633\u062a\u0646\u062f. \u0648\u0642\u062a\u06cc \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0633\u0627\u0632\u0646\u062f\u0647 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0634\u06cc \u062c\u062f\u06cc\u062f \u0633\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc \u0634\u0648\u062f (\u0637\u0628\u0642 \u0642\u0631\u0627\u0631\u062f\u0627\u062f\u060c \u062f\u0631 \u0648\u06cc\u0698\u06af\u06cc \u0628\u0627 \u0646\u0627\u0645 __proto__).<\/p>\n<p>\u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0627\u06af\u0631 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u06cc\u06a9 \u0633\u0627\u0632\u0646\u062f\u0647 \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u0645\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u062a\u0645\u0627\u0645 \u0627\u0634\u06cc\u0627\u0621 \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u0628\u0627 \u0622\u0646 \u0633\u0627\u0632\u0646\u062f\u0647\u060c \u0622\u0646 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u062f\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const personPrototype = {\r\ngreet() {\r\nconsole.log(`hello, my name is ${this.name}!`);\r\n},\r\n};\r\nfunction Person(name) {\r\nthis.name = name;\r\n}\r\nObject.assign(Person.prototype, personPrototype);\r\n\/\/ or\r\n\/\/ Person.prototype.greet = personPrototype.greet;<\/code><\/pre>\n<\/div>\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645:<\/p>\n<ul>\n<li>\u06cc\u06a9 \u0634\u06cc personPrototype \u06a9\u0647 \u062f\u0627\u0631\u0627\u06cc \u0645\u062a\u062f greet() \u0627\u0633\u062a<\/li>\n<li>\u06cc\u06a9 \u062a\u0627\u0628\u0639 \u0633\u0627\u0632\u0646\u062f\u0647 ()Person \u06a9\u0647 \u0646\u0627\u0645 \u0634\u062e\u0635\u06cc \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u0634\u0648\u062f \u0631\u0627 \u0645\u0642\u062f\u0627\u0631\u062f\u0647\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0645\u06cc \u06a9\u0646\u062f.<\/li>\n<\/ul>\n<p>\u0633\u067e\u0633 \u0645\u062a\u062f\u0647\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u062f\u0631 personPrototype \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Object.assign \u062f\u0631 \u0648\u06cc\u0698\u06af\u06cc \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u062a\u0627\u0628\u0639 Person \u0642\u0631\u0627\u0631 \u0645\u06cc \u062f\u0647\u06cc\u0645.<\/p>\n<p>\u067e\u0633 \u0627\u0632 \u0627\u06cc\u0646 \u06a9\u062f\u060c \u0627\u0634\u06cc\u0627\u0621 \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 ()Person.prototype \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u062e\u0648\u062f \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc \u06a9\u0646\u0646\u062f \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u062d\u0627\u0648\u06cc \u0645\u062a\u062f greet \u0627\u0633\u062a.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const reuben = new Person(\"Reuben\");\r\nreuben.greet(); \/\/ hello, my name is Reuben!<\/code><\/pre>\n<\/div>\n<p>\u0627\u06cc\u0646 \u0647\u0645\u0686\u0646\u06cc\u0646 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u0686\u0631\u0627 \u0642\u0628\u0644\u0627\u064b \u06af\u0641\u062a\u06cc\u0645 \u06a9\u0647 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 myDate Date.prototype \u0646\u0627\u0645\u06cc\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f: \u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0633\u0627\u0632\u0646\u062f\u0647 Date \u0627\u0633\u062a.<\/p>\n<h2 id=\"property-%d8%ae%d9%88%d8%af\">Property \u062e\u0648\u062f<\/h2>\n<p>\u0627\u0634\u06cc\u0627\u06cc\u06cc \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0633\u0627\u0632\u0646\u062f\u0647 Person \u062f\u0631 \u0628\u0627\u0644\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645\u060c \u062f\u0648 \u0648\u06cc\u0698\u06af\u06cc \u062f\u0627\u0631\u0646\u062f:<\/p>\n<ul>\n<li>\u06cc\u06a9 \u0648\u06cc\u0698\u06af\u06cc name\u060c \u06a9\u0647 \u062f\u0631 \u0633\u0627\u0632\u0646\u062f\u0647 \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0645\u0633\u062a\u0642\u06cc\u0645\u0627\u064b \u062f\u0631 \u0627\u0634\u06cc\u0627\u0621 Person \u0638\u0627\u0647\u0631 \u0645\u06cc \u0634\u0648\u062f<\/li>\n<li>\u06cc\u06a9 \u0645\u062a\u062f greet() \u06a9\u0647 \u062f\u0631 \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/li>\n<\/ul>\n<p>\u062f\u06cc\u062f\u0646 \u0627\u06cc\u0646 \u0627\u0644\u06af\u0648 \u0645\u0639\u0645\u0648\u0644 \u0627\u0633\u062a\u060c \u06a9\u0647 \u062f\u0631 \u0622\u0646 \u0645\u062a\u062f\u0647\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f\u060c \u0627\u0645\u0627 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u062f\u0627\u062f\u0647 \u062f\u0631 \u0633\u0627\u0632\u0646\u062f\u0647 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u062f\u0644\u06cc\u0644\u0634 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0631\u0648\u0634\u200c\u0647\u0627 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0631\u0627\u06cc \u0647\u0631 \u0634\u06cc\u0626\u06cc \u06a9\u0647 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06cc\u06a9\u0633\u0627\u0646 \u0647\u0633\u062a\u0646\u062f\u060c \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u0645\u0627 \u0627\u063a\u0644\u0628 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u0647\u0631 \u0634\u06cc \u0627\u0631\u0632\u0634 \u062e\u0627\u0635 \u062e\u0648\u062f \u0631\u0627 \u0628\u0631\u0627\u06cc \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u062f\u0627\u062f\u0647\u200c\u0627\u0634 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f (\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0647\u0631 \u0634\u062e\u0635 \u0646\u0627\u0645 \u0645\u062a\u0641\u0627\u0648\u062a\u06cc \u062f\u0627\u0631\u062f).<\/p>\n<p>\u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u0633\u062a\u0642\u06cc\u0645\u0627\u064b \u062f\u0631 \u0634\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc \u0634\u0648\u0646\u062f\u060c \u0645\u0627\u0646\u0646\u062f name \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627\u060c \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u062e\u0648\u062f \u0646\u0627\u0645\u06cc\u062f\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f \u0648 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u062a\u062f \u0627\u0633\u062a\u0627\u062a\u06cc\u06a9 Object.hasOwn () \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0622\u06cc\u0627 \u06cc\u06a9 \u0648\u06cc\u0698\u06af\u06cc \u06cc\u06a9 \u0648\u06cc\u0698\u06af\u06cc \u062e\u0627\u0635 \u0627\u0633\u062a \u06cc\u0627 \u062e\u06cc\u0631:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const irma = new Person(\"Irma\");\r\nconsole.log(Object.hasOwn(irma, \"name\")); \/\/ true\r\nconsole.log(Object.hasOwn(irma, \"greet\")); \/\/ false<\/code><\/pre>\n<\/div>\n<p><span style=\"color: #ff0000;\">\u062a\u0648\u062c\u0647: \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0631\u0648\u0634 \u063a\u06cc\u0631\u0627\u0633\u062a\u0627\u062a\u06cc\u06a9 Object.hasOwnProperty() \u0646\u06cc\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0627\u0645\u0627 \u062a\u0648\u0635\u06cc\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u062f\u0631 \u0635\u0648\u0631\u062a \u0627\u0645\u06a9\u0627\u0646 \u0627\u0632 Object.hasOwn() \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/span><\/p>\n<h2 id=\"%d9%86%d9%85%d9%88%d9%86%d9%87-%d9%87%d8%a7%db%8c-%d8%a7%d9%88%d9%84%db%8c%d9%87-%d9%88-%d9%88%d8%b1%d8%a7%d8%ab%d8%aa\">\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0648 \u0648\u0631\u0627\u062b\u062a<\/h2>\n<p>\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u06cc\u06a9 \u0648\u06cc\u0698\u06af\u06cc \u0642\u062f\u0631\u062a\u0645\u0646\u062f \u0648 \u0628\u0633\u06cc\u0627\u0631 \u0627\u0646\u0639\u0637\u0627\u0641 \u067e\u0630\u06cc\u0631 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u0627\u0645\u06a9\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u062c\u062f\u062f \u0627\u0632 \u06a9\u062f \u0648 \u062a\u0631\u06a9\u06cc\u0628 \u0627\u0634\u06cc\u0627\u0621 \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc \u06a9\u0646\u0646\u062f.<\/p>\n<p>\u0622\u0646\u0647\u0627 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0627\u0635 \u0627\u0632 \u0646\u0633\u062e\u0647 \u0627\u06cc \u0627\u0632 \u0627\u0631\u062b \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u0646\u062f. \u0648\u0631\u0627\u062b\u062a \u06cc\u06a9\u06cc \u0627\u0632 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0632\u0628\u0627\u0646 \u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0634\u06cc \u06af\u0631\u0627 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u0627\u0646 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc \u062f\u0647\u062f \u0627\u06cc\u0646 \u0627\u06cc\u062f\u0647 \u0631\u0627 \u0628\u06cc\u0627\u0646 \u06a9\u0646\u0646\u062f \u06a9\u0647 \u0628\u0631\u062e\u06cc \u0627\u0632 \u0627\u0634\u06cc\u0627\u0621 \u062f\u0631 \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0646\u0633\u062e\u0647 \u0647\u0627\u06cc \u062a\u062e\u0635\u0635\u06cc \u062a\u0631\u06cc \u0627\u0632 \u0627\u0634\u06cc\u0627\u0621 \u062f\u06cc\u06af\u0631 \u0647\u0633\u062a\u0646\u062f.<\/p>\n<p>\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0627\u06af\u0631 \u0645\u0627 \u062f\u0631 \u062d\u0627\u0644 \u0627\u0644\u06af\u0648\u0628\u0631\u062f\u0627\u0631\u06cc \u0627\u0632 \u06cc\u06a9 \u0645\u062f\u0631\u0633\u0647 \u0647\u0633\u062a\u06cc\u0645\u060c \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0627\u0633\u0627\u062a\u06cc\u062f \u0648 \u062f\u0627\u0646\u0634\u200c\u0622\u0645\u0648\u0632\u0627\u0646 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645: \u0622\u0646\u0647\u0627 \u0647\u0631 \u062f\u0648 \u0646\u0641\u0631 \u0647\u0633\u062a\u0646\u062f\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0645\u0634\u062a\u0631\u06a9\u06cc \u062f\u0627\u0631\u0646\u062f (\u0645\u062b\u0644\u0627\u064b \u0647\u0631 \u062f\u0648 \u0646\u0627\u0645 \u062f\u0627\u0631\u0646\u062f)\u060c \u0627\u0645\u0627 \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0627\u0636\u0627\u0641\u06cc \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u0646\u062f (\u0645\u062b\u0644\u0627\u064b \u0627\u0633\u0627\u062a\u06cc\u062f \u0645\u0648\u0636\u0648\u0639\u06cc \u062f\u0627\u0631\u0646\u062f \u06a9\u0647 \u0622\u0646\u0647\u0627 \u062a\u062f\u0631\u06cc\u0633 \u0645\u06cc \u06a9\u0646\u0646\u062f)\u060c \u06cc\u0627 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0647\u0645\u0627\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0631\u0627 \u0628\u0647 \u0631\u0648\u0634 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u06a9\u0646\u0646\u062f. \u062f\u0631 \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 OOP \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u06af\u0648\u06cc\u06cc\u0645 \u06a9\u0647 \u0627\u0633\u0627\u062a\u06cc\u062f \u0648 \u062f\u0627\u0646\u0634\u062c\u0648\u06cc\u0627\u0646 \u0647\u0631 \u062f\u0648 \u0627\u0632 \u0645\u0631\u062f\u0645 \u0627\u0631\u062b \u0645\u06cc \u0628\u0631\u0646\u062f.<\/p>\n<p>\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0628\u06cc\u0646\u06cc\u062f \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u062f\u0631 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u060c \u0627\u06af\u0631 \u0627\u0634\u06cc\u0627\u0621 Professor \u0648 Student \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0646\u0645\u0648\u0646\u0647\u200c\u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 Person \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0645\u0634\u062a\u0631\u06a9 \u0631\u0627 \u0628\u0647 \u0627\u0631\u062b \u0628\u0628\u0631\u0646\u062f\u060c \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc\u06cc \u0631\u0627 \u06a9\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u062a\u0641\u0627\u0648\u062a \u062f\u0627\u0631\u0646\u062f \u0627\u0636\u0627\u0641\u0647 \u0648 \u062f\u0648\u0628\u0627\u0631\u0647 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/p>\n<p>\u062f\u0631 \u0645\u0642\u0627\u0644\u0647 \u0628\u0639\u062f\u06cc \u062f\u0631 \u0645\u0648\u0631\u062f \u0648\u0631\u0627\u062b\u062a \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0633\u0627\u06cc\u0631 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0627\u0635\u0644\u06cc \u0632\u0628\u0627\u0646 \u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0634\u06cc \u06af\u0631\u0627 \u0628\u062d\u062b \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f \u0648 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u06cc\u062f \u06a9\u0647 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0622\u0646\u0647\u0627 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<h2 id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87\">\u0646\u062a\u06cc\u062c\u0647<\/h2>\n<p>\u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0647 \u0646\u0645\u0648\u0646\u0647\u200c\u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0627\u0634\u06cc\u0627\u0621 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u062f\u060c \u0627\u0632 \u062c\u0645\u0644\u0647 \u0627\u06cc\u0646\u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u0632\u0646\u062c\u06cc\u0631\u0647\u200c\u0647\u0627\u06cc \u0634\u06cc \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0628\u0647 \u0627\u0634\u06cc\u0627 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627 \u0631\u0627 \u0627\u0632 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0628\u0647 \u0627\u0631\u062b \u0628\u0628\u0631\u0646\u062f\u060c \u0648\u06cc\u0698\u06af\u06cc \u0646\u0645\u0648\u0646\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0648 \u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0628\u0631\u0627\u06cc \u0627\u0641\u0632\u0648\u062f\u0646 \u0645\u062a\u062f\u0647\u0627 \u0628\u0647 \u0633\u0627\u0632\u0646\u062f\u0647\u200c\u0647\u0627 \u0648 \u0633\u0627\u06cc\u0631 \u0645\u0648\u0636\u0648\u0639\u0627\u062a \u0645\u0631\u062a\u0628\u0637.<\/p>\n","protected":false},"excerpt":{"rendered":"Giri\u015f: Prototipler, JavaScript nesnelerinin birbirleriyle \u00f6zelliklerini payla\u015fmalar\u0131n\u0131 sa\u011flayan bir mekanizmad\u0131r.","protected":false},"author":1,"featured_media":16020,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 Object Prototype \u062f\u0631 JavaScript","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","_yoast_wpseo_canonical":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_opengraph-image":"","_yoast_wpseo_twitter-description":"","_yoast_wpseo_twitter-image":"","_yoast_wpseo_focuskeywords":"","_yoast_wpseo_primary_category":"193","footnotes":""},"categories":[193,363],"tags":[384,435],"class_list":{"0":"post-16018","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tutorials","8":"category-programming","9":"tag-java-script","10":"tag-programming"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 Object Prototype \u062f\u0631 JavaScript - \u0628\u0644\u0627\u06af ITPiran<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.itpiran.net\/blog\/tr\/tutorials\/object_prototypes\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 Object Prototype \u062f\u0631 JavaScript - \u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"og:description\" content=\"\u0645\u0642\u062f\u0645\u0647 &nbsp; \u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0645\u06a9\u0627\u0646\u06cc\u0632\u0645\u06cc \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062a\u0648\u0633\u0637 \u0622\u0646 \u0627\u0634\u06cc\u0627\u0621 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u0631\u0627 \u0627\u0632 \u06cc\u06a9\u062f\u06cc\u06af\u0631&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itpiran.net\/blog\/tr\/tutorials\/object_prototypes\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-08T21:38:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.itpiran.net\/2024\/08\/09005205\/js-prototype.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1793\" \/>\n\t<meta property=\"og:image:height\" content=\"1110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\"},\"headline\":\"\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 Object Prototype \u062f\u0631 JavaScript\",\"datePublished\":\"2024-08-08T21:38:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/\"},\"wordCount\":88,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/08\\\/09005205\\\/js-prototype.jpg\",\"keywords\":[\"Java Script\",\"programming\"],\"articleSection\":[\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/\",\"name\":\"\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 Object Prototype \u062f\u0631 JavaScript - \u0628\u0644\u0627\u06af ITPiran\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/08\\\/09005205\\\/js-prototype.jpg\",\"datePublished\":\"2024-08-08T21:38:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/08\\\/09005205\\\/js-prototype.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/08\\\/09005205\\\/js-prototype.jpg\",\"width\":1793,\"height\":1110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/object_prototypes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/category\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 Object Prototype \u062f\u0631 JavaScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"name\":\"\u0628\u0644\u0627\u06af ITPiran\",\"description\":\"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0645\u0642\u0627\u0644\u0627\u062a \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\",\"name\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"alternateName\":\"ITPIran Blog\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"width\":512,\"height\":512,\"caption\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\",\"name\":\"admin\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tr\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript&#039;te Nesne Prototipleri - ITPiran Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.itpiran.net\/blog\/tr\/tutorials\/object_prototypes\/","og_locale":"tr_TR","og_type":"article","og_title":"\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 Object Prototype \u062f\u0631 JavaScript - \u0628\u0644\u0627\u06af ITPiran","og_description":"\u0645\u0642\u062f\u0645\u0647 &nbsp; \u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0645\u06a9\u0627\u0646\u06cc\u0632\u0645\u06cc \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062a\u0648\u0633\u0637 \u0622\u0646 \u0627\u0634\u06cc\u0627\u0621 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u0631\u0627 \u0627\u0632 \u06cc\u06a9\u062f\u06cc\u06af\u0631&hellip;","og_url":"https:\/\/www.itpiran.net\/blog\/tr\/tutorials\/object_prototypes\/","og_site_name":"\u0628\u0644\u0627\u06af ITPiran","article_published_time":"2024-08-08T21:38:39+00:00","og_image":[{"width":1793,"height":1110,"url":"https:\/\/cdn.itpiran.net\/2024\/08\/09005205\/js-prototype.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"admin","Tahmini okuma s\u00fcresi":"1 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/#article","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/"},"author":{"name":"admin","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81"},"headline":"\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 Object Prototype \u062f\u0631 JavaScript","datePublished":"2024-08-08T21:38:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/"},"wordCount":88,"commentCount":0,"publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/08\/09005205\/js-prototype.jpg","keywords":["Java Script","programming"],"articleSection":["\u0622\u0645\u0648\u0632\u0634\u06cc","\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/","url":"https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/","name":"JavaScript&#039;te Nesne Prototipleri - ITPiran Blog","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/#primaryimage"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/08\/09005205\/js-prototype.jpg","datePublished":"2024-08-08T21:38:39+00:00","breadcrumb":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/"]}]},{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/#primaryimage","url":"https:\/\/cdn.itpiran.net\/2024\/08\/09005205\/js-prototype.jpg","contentUrl":"https:\/\/cdn.itpiran.net\/2024\/08\/09005205\/js-prototype.jpg","width":1793,"height":1110},{"@type":"BreadcrumbList","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/object_prototypes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.itpiran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634\u06cc","item":"https:\/\/www.itpiran.net\/blog\/category\/tutorials\/"},{"@type":"ListItem","position":3,"name":"\u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 Object Prototype \u062f\u0631 JavaScript"}]},{"@type":"WebSite","@id":"https:\/\/www.itpiran.net\/blog\/#website","url":"https:\/\/www.itpiran.net\/blog\/","name":"ITPiran Blog","description":"\u0130ran S\u00fcrd\u00fcr\u00fclebilir Ticaret Haberleri ve Makaleleri","publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.itpiran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":"Organization","@id":"https:\/\/www.itpiran.net\/blog\/#organization","name":"S\u00fcrd\u00fcr\u00fclebilir \u0130ran \u0130\u015fletmeleri Blogu","alternateName":"ITPIran Blog","url":"https:\/\/www.itpiran.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","contentUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","width":512,"height":512,"caption":"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81","name":"y\u00f6netici","url":"https:\/\/www.itpiran.net\/blog\/tr\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpiran.net\/blog\/tr\/wp-json\/wp\/v2\/posts\/16018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itpiran.net\/blog\/tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpiran.net\/blog\/tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/tr\/wp-json\/wp\/v2\/comments?post=16018"}],"version-history":[{"count":2,"href":"https:\/\/www.itpiran.net\/blog\/tr\/wp-json\/wp\/v2\/posts\/16018\/revisions"}],"predecessor-version":[{"id":16022,"href":"https:\/\/www.itpiran.net\/blog\/tr\/wp-json\/wp\/v2\/posts\/16018\/revisions\/16022"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/tr\/wp-json\/wp\/v2\/media\/16020"}],"wp:attachment":[{"href":"https:\/\/www.itpiran.net\/blog\/tr\/wp-json\/wp\/v2\/media?parent=16018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/tr\/wp-json\/wp\/v2\/categories?post=16018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/tr\/wp-json\/wp\/v2\/tags?post=16018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}