2 ms·
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.
by simonw 15y 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.
- nascentone 15y agoSaying they are "very different" because of closures is hyperbolic, but at any rate, yes, AS1 had closures like JS.
- simonw 15y agoCan you provide a syntax example? I couldn't find any documentation/sample code of AS1 closures.