Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Object.prototype.method or Object.method Reply To: Object.prototype.method or Object.method

#195490
shaneisme
Participant

First, yes your assumption is correct.

And second – thanks for laying it all out for me that makes sense.

So would using prototype by similar to having a “public” function/variable/etc. vs. “private”?