Hi guys,

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.