Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Create a temporary object so we can get an instance
- // of the course and
- var temp = function() {}
- temp.prototype = Course.prototype;
- // The CS "prototype chain" now has an
- CS.prototype = new temp();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement