News for hackers. Stuff that matters.
Re:Methods & Properties with Javascript OOP by Jebus on Saturday March 17, 2012 @12:47PM (#3717460)
You are copying the code for each instance. Use prototype instead.
Re:Methods & Properties with Javascript OOP by TazeTSchnitzel on Saturday March 17, 2012 @01:27PM (#3717554)
Doesn't that break using variables owned by the constructor?