tag:blogger.com,1999:blog-1747662717669511114.post1123824462792027149..comments2015-07-27T19:22:24.741-07:00Comments on Bill Yang's Weblog: CoffeeScript global variable and @ keywordBill Yanghttp://www.blogger.com/profile/11095977392691545904noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-1747662717669511114.post-86683619961063295132012-09-19T14:16:43.184-07:002012-09-19T14:16:43.184-07:00It's not that @ has anything to do with global...It's not that @ has anything to do with global scope; "@" is an alias for "this.". When you use "this" outside of an object scope it defaults to being a reference to window. Expanding on what you concluded, the entire behavior you're discussing is simply a consequence of the way javascript handles "this".A Michiganderhttps://www.blogger.com/profile/03399437633811865651noreply@blogger.com