Javascript [Electronic resources] : The Definitive Guide (4th Edition) نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Javascript [Electronic resources] : The Definitive Guide (4th Edition) - نسخه متنی

David Flanagan

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید

Availability


JavaScript 1.1; JScript 2.0; ECMAScript
v1


Synopsis


function
.prototype


Description


The
prototype property is used when a function is used
as a constructor. It refers to an object that serves as the prototype
for an entire class of objects. Any object created by the constructor
inherits all properties of the object referred to by the
prototype property.

See Chapter 8 for a full discussion of constructor
functions, the prototype property, and the
definition of classes in JavaScript.


Bugs


JavaScript 1.1 requires a constructor to be used once before anything
can be assigned to its prototype object.


See Also


Chapter 8

/ 844