結果 : pass function with arguments as parameter javascript