• Deucе's avatar
    Add generic on_exit support. · f09622cd
    Deucе authored
    Store all on_exit() strings in the global scope, execute them
    one scope at a time with scopes ordered in reverse order of
    first call to js.on_exit().  Within a scope, they are ordered
    last string first.
    f09622cd
js_internal.c 26.2 KB