From 34b0264620c540bcdc451c96996ff5a38a6d26db Mon Sep 17 00:00:00 2001 From: Steven Senatori Date: Sat, 2 Nov 2013 17:30:36 -0700 Subject: fixing one of my corrections, no idea why I delted the }; on line 333 previously...sorry --- javascript.html.markdown | 1 + 1 file changed, 1 insertion(+) (limited to 'javascript.html.markdown') diff --git a/javascript.html.markdown b/javascript.html.markdown index 36aad102..2d665e67 100644 --- a/javascript.html.markdown +++ b/javascript.html.markdown @@ -330,6 +330,7 @@ var myPrototype = { myFunc: function(){ return this.myString.toLowerCase() } +}; myObj.__proto__ = myPrototype; myObj.meaningOfLife; // = 42 -- cgit v1.2.3