Y
Hacker News
new
|
ask
|
show
|
jobs
by
simonw
5335 days ago
Did AS1 have closures? I was under the impression that it didn't, which makes it a very different language from JavaScript, even if the syntax looks similar.
1 comments
nascentone
5334 days ago
Saying they are "very different" because of closures is hyperbolic, but at any rate, yes, AS1 had closures like JS.
link
simonw
5332 days ago
Can you provide a syntax example? I couldn't find any documentation/sample code of AS1 closures.
link