With Javascript, it is possible to assign an anonymous function to a variable and pass it as an argument in another function.