結果 : javascript return empty array if undefined