如何运用javascript数组中的includes和reduce方法?