Reply
Wed 11 Mar, 2015 03:41 am
I am new to OOJS and understand about creating objects and amending it's prototype but why would you want/need to do this? Why would you not just define the method in the original constructor? Could anyone give an example case as to when this might be useful?