結果 : why we use flatmap in javascript