Hacker News new | ask | show | jobs
by ulisesrmzroche 4209 days ago
What? No, it's not an anti-pattern. It's about understanding functional scoping, JavaScript doesn't use lexical scoping.
1 comments

Not sure where you got this from. JavaScript does use lexical scoping for almost everything, except for "this".
Yeah, that's what I meant, but it was before caffeine this morning and now its too late to edit.