marijnh / Eloquent-JavaScript

The sources for the Eloquent JavaScript book
https://eloquentjavascript.net
3.03k stars 799 forks source link

Chapter 6 - *code wont run #358

Closed kenitohenry closed 6 years ago

kenitohenry commented 6 years ago

code block after ## class notation wont run -- no speak method? is not called and no line value is passed.

marijnh commented 6 years ago

You mean the one that starts with class Rabbit? That one works for me. If not that code, please be more specific.

kenitohenry commented 6 years ago

yes that one, when I try to run nothing console.logs, only when I pass in a line parameter it works

kenitohenry commented 6 years ago

image image

marijnh commented 6 years ago

Yes, that is as it should be — the code just defines the class and two instances, so it won't log anything.