impatient-js
impatient-js copied to clipboard
Chapter: Classes
Minor typo in section 24.2.3:
The name of property .prototype is not ideal: Person.prototype does not point ~~the~~ to the prototype of Person, it points to the prototype of all instances of Person.
26.2.3.1: haven’t ~~look~~ looked at 26.4.4: via a function
@da-moo Fixed now, thanks!
@MignonBelongie Will be fixed in the next release, thanks!
Secret bonus exercise not mentioned in text?
If that was intentional, I will happily delete this comment.
Just a minor issue. In the text "It is interesting to note that both constructs inside class Person (.constructor and .describe()) created properties for Person.prototype, not for Person.", would it be more correct to say "It is interesting to note that both methods inside class Person (.constructor and .describe()) created properties for Person.prototype, not for Person."?.
Thanks @rauschma for this ussefull and clear manual on Javascript, so far the best I have found.
@ricgonmen .constructor() isn’t really a method (it’s more). That’s why I didn’t call it a method here.
@pdspx Fixed in next release, thanks!