Hi Pavan, Thanks again for creating such detailed documentation. One quick question, whenever we are adding new properties then we are declaring the value as well and that value seems to be constant for all objects created for the class. Does prototype properties behave somewhat static variable as in Java i.e, it will remain same for all objects created for the class?
@karthichelliah9764 жыл бұрын
Yes bro it will remain same for all object references !!
@webtestingui71872 жыл бұрын
keep consistency, sometimes you are using function keyword and sometime you are not using which creates lot of confusion