fixed same prototype bug as in localStorage
这个提交包含在:
父节点
9616ea92b8
当前提交
36e19f1e78
@ -36,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Storage.prototype.getItem = function (key) {
|
Storage.prototype.getItem = function (key) {
|
||||||
if (key in this) {
|
if (this.hasOwnProperty(key)) {
|
||||||
return String(this[key]);
|
return String(this[key]);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户