結果 : how to make an optional parameter in javascript