the implementation seems to have changed since I ported it ... so maybe there was a bug there
I will test the JS implementation when I get a chance
But it doesn't look correct to me either
@fponticelli What's your opinion on making functions independent of classes in Haxe (so that we could define them at the top-level and import/export them), and also allow for evaluating code in the "top-level", like TS allows? Do you think it'd be a nice addition to Haxe or the class-first approach is better?
I'd love to have it
I often time find that constraining everything to classes makes things more limiting than they should be