arr1.sort().toString() === arr2.sort().toString();
js比较两个数组中的元素是否相等
猜你喜欢
转载自blog.csdn.net/ydeway/article/details/103457801
今日推荐
周排行