How to pass a function to another function in JavaScript

join shbcf.ru