結果 : make argument optional javascript