| var gadget = { | |
| add: function(a,b){ | |
| return a + b; | |
| }, | |
| name: "David" | |
| }; | |
| var Socket = function(prototype) { | |
| var o = Object.create(prototype); | |
| return o; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment