Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

Proto exercice #27

Open
marianar97 opened this issue Jun 1, 2015 · 2 comments
Open

Proto exercice #27

marianar97 opened this issue Jun 1, 2015 · 2 comments

Comments

@marianar97
Copy link

I haven't been able to complete the Proto task

It says
// -> Make machine the prototype of robot

// -> Make robot the prototype of robby

How do I solve it?

Thanks

@sporto
Copy link
Owner

sporto commented Jun 4, 2015

-> Make machine the prototype of robot

robot.__proto__ = machine;

-> Make robot the prototype of robby

robby.__proto__ = robot;

@sporto
Copy link
Owner

sporto commented Jun 4, 2015

Makes sense?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants