sorted_arr = arr.sort(); // You can define the comparing function here.// JS by default uses a crappy string compare.for (var i = 0; i < arr.length - 1;i++) {
if (sorted_arr[i + 1].empID != sorted_arr
我想从我的.中删除所有发生的array。var arr = ['...my name is apple', 'my girl .... friend is banana.......'];var arr = ['...my name is apple', 'my girl .... friend is banana.......'];
a