結果 : how to return undefined in javascript