1. 2. 3. 4. let obj1 = [{"id" : 1, "name" : "xiaoMing"}]; let obj2 = [{"id" : 1, "name" : "xiaoMi"}]; var isEqualN = JSON.stringify(obj1) === JSON.stringify(obj2); console.log(isEqualN);//false 1. 2. 3. 4. js比较两个对象数组是否相同...