結果 : what is the correct syntax for javascript function