finally, javascript allows inline callbacks, which python **basically** doesn't (lambdas don't count)