提交 9d75143e 编写于 作者: fxy060608's avatar fxy060608

fix(mp-baidu): use {} instead of Object.create(null) (question/137222)

上级 41791627
......@@ -4604,7 +4604,7 @@ function clone(src, seen) {
}
}
else {
copy = Object.create(null);
copy = {};
seen.set(src, copy);
for (const name in src) {
if (hasOwn(src, name)) {
......
......@@ -4604,7 +4604,7 @@ function clone(src, seen) {
}
}
else {
copy = Object.create(null);
copy = {};
seen.set(src, copy);
for (const name in src) {
if (hasOwn(src, name)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册