Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
simonw
· 15y ago · 0 comments
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.
Comments
[–]
nascentone
15y ago
Saying they are "very different" because of closures is hyperbolic, but at any rate, yes, AS1 had closures like JS.
[–]
simonw
OP
15y ago
Can you provide a syntax example? I couldn't find any documentation/sample code of AS1 closures.