Skip to content

Commit d7e1874

Browse files
committed
Remove console.log from example
1 parent 5042a47 commit d7e1874

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chapters/classes_and_objects/class-variables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ class Zoo
1414
@MAX_ANIMALS: 50
1515
MAX_ZOOKEEPERS: 3
1616

17-
console.log Zoo.MAX_ANIMALS
17+
Zoo.MAX_ANIMALS
1818
# => 50
1919

20-
console.log Zoo.MAX_ZOOKEEPERS
20+
Zoo.MAX_ZOOKEEPERS
2121
# => undefined (it is an instance variable)
2222

2323
zoo = new Zoo
24-
console.log zoo.MAX_ZOOKEEPERS
24+
zoo.MAX_ZOOKEEPERS
2525
# => 3
2626
{% endhighlight %}
2727

0 commit comments

Comments
 (0)