Did Bill Clinton invent javascript? Took me an hour to figure out the meaning of "this"
Conversation
Replying to
Yup, that's how I understood what was going on. A 'this' example only worked when I figured out the closure approach.
Replying to
now figure out why `that = this` is an actual javascript idiom that people actually use
1
1
Replying to
he did not. have. inventual. relations. with that language.
Replying to
Such are the lamentations of a language inspired by Smalltalk, only to be bikeshedded to be "more familiar" to Java/C programmers.
1
1





