Results 1 to 4 of 4
Thread: Prototype VS Inheritance (Basic)
Jul 27, 2013, 01:58 #1
- Join Date
- Jul 2006
- 2 Post(s)
- 0 Thread(s)
Prototype VS Inheritance (Basic)
I'm a little confused with these two.
Okay here is my understanding.
Prototype - extend an object, just like in php you extend a class.
Inheritance - reuse existing codes, by copying or by reference.
Sometimes I'm thinking they are just the same.
Can someone give more advice.
Thanks in advance.I Love coding...
Don't click this link.