impatient-js icon indicating copy to clipboard operation
impatient-js copied to clipboard

Chapter: Classes

Open rauschma opened this issue 7 years ago • 8 comments
trafficstars

rauschma avatar Jul 12 '18 17:07 rauschma

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.

rightpad avatar Sep 28 '18 14:09 rightpad

26.2.3.1: haven’t ~~look~~ looked at 26.4.4: via a function

MignonBelongie avatar Jan 13 '19 22:01 MignonBelongie

@da-moo Fixed now, thanks!

rauschma avatar Mar 23 '19 17:03 rauschma

@MignonBelongie Will be fixed in the next release, thanks!

rauschma avatar Mar 23 '19 17:03 rauschma

Secret bonus exercise not mentioned in text?

If that was intentional, I will happily delete this comment.

wgmyers avatar Oct 01 '20 23:10 wgmyers

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 avatar Oct 06 '21 07:10 ricgonmen

@ricgonmen .constructor() isn’t really a method (it’s more). That’s why I didn’t call it a method here.

rauschma avatar Dec 15 '21 10:12 rauschma

@pdspx Fixed in next release, thanks!

rauschma avatar Jan 01 '22 17:01 rauschma