How to pass function as an argument in javascript functions

welcome to shbcf.ru