結果 : what is the correct syntax to define a function in javascript