Browse files

Update 2013/02/

  • Loading branch information...
1 parent 1982816 commit 71ee32fffee31d5b48cef8cdd9b6df35cc20477d @raganwald raganwald committed Feb 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 2013/02/
@@ -77,7 +77,7 @@ end
There is special sntax for defining a class, and special syntax for defining the behaviour of instances. There are different ways of defining the way new instances are created in classist languages. Ruby uses a "magic method" called `initialize`. Now let's look at JavaScript.
-### javascript has constructors
+### javascript has constructors and prototypes
JavaScript objects don't have a formal class, and thus there's no special syntax for defining how to create an instance or define its behaviour.

0 comments on commit 71ee32f

Please sign in to comment.