This commit is contained in:
maplemei
2019-12-02 15:10:58 +08:00
parent 72181f249c
commit b493563677
12 changed files with 96 additions and 56 deletions

View File

@@ -97,12 +97,3 @@ if (!Array.prototype.findIndex) {
return -1;
};
}
//拓展Object values方法
if (!Object.values) {
Object.prototype.values = function(obj) {
return Object.keys(obj).map(function(e) {
return obj[e];
});
};
}