MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/coffeescript/comments/yafx0/private_members_in_coffeescript/
r/coffeescript • u/EvanHahn • Aug 15 '12
4 comments sorted by
3
Your simple case doesn't work as you think. firstName isn't a "private member", it's a "private class member" - a single object accessible by all objects created within that scope (via closure).
firstName
1
Excellent post good sir!
0
hahn para el presidenté
Have my babies!!!
3
u/MustRapeDeannaTroi Aug 16 '12
Your simple case doesn't work as you think.
firstNameisn't a "private member", it's a "private class member" - a single object accessible by all objects created within that scope (via closure).1
u/chaselee Sep 08 '12
Excellent post good sir!
0
u/h0rak Sep 10 '12
hahn para el presidenté
0
u/[deleted] Sep 10 '12
Have my babies!!!