結果 : javascript set null if undefined