what scoping rules make javascript better than python for evented programming? I am not a big JS writer, but I can't seem to see anything important (nested functions, globals).
Maybe you are referring to the fact that JS has an arguably better syntax for anonymous functions?