結果 : calling function multiple times with different arguments javascript