結果 : how to call function with parameter in react js