Permalink
Browse files

Fixed output style.

  • Loading branch information...
1 parent e4ce9f6 commit 85f1fa5e4f45a577b779db9604f494da7e9d5ebe Georgii Kats committed Mar 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 2013/02/prototypes.md
View
4 2013/02/prototypes.md
@@ -136,8 +136,8 @@ Queue.prototype.isEmpty = function () {
Queue.prototype
//=> { pushTail: [Function],
- pullHead: [Function],
- isEmpty: [Function] }
+ //=> pullHead: [Function],
+ //=> isEmpty: [Function] }
```
The first way a prototype in JavaScript is different from a class in Ruby is that the prototype is an ordinary object with exactly the same properties that we expect to find in an instance: Methods `pushTail`, `pullHead`, and `isEmpty`.

0 comments on commit 85f1fa5

Please sign in to comment.