+ 1

In javascript, what is a prototype?

javascript object prototype

18th Nov 2017, 11:02 AM
NDUNGUTSE Mukosa
NDUNGUTSE Mukosa - avatar
2 ответов
+ 3
It is like the first draft of the objects
18th Nov 2017, 11:32 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
- 1
It defines the properties and methods for an object. You can extend the prototype to add additional properties and methods at any time.
18th Nov 2017, 12:30 PM
John Wells
John Wells - avatar