It makes a javascript function an high order function