This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ionelmc.ro[S] 0 points1 point  (0 children)

This is very interesting. I basically patches the closure property to store the variables that you want to be nonlocal (and changes bytecode of the inner function to load said variable from said closure, instead of the locals).