prototype object of JavaScript ?
Posted: Sun Sep 16, 2012 9:48 am
What is prototype in Javascript?
coming across code like
x.prototype.multiply()
y.prototype.min()
where and why use prototype ?
I googled for the term but couldn't make much sense of the articles.. sounded too geeky.
Would be really grateful if some one could give a simplistic explanation
coming across code like
x.prototype.multiply()
y.prototype.min()
where and why use prototype ?
I googled for the term but couldn't make much sense of the articles.. sounded too geeky.
Would be really grateful if some one could give a simplistic explanation