fixed same prototype bug as in localStorage
This commit is contained in:
父節點
9616ea92b8
當前提交
36e19f1e78
@ -36,7 +36,7 @@
|
||||
}
|
||||
|
||||
Storage.prototype.getItem = function (key) {
|
||||
if (key in this) {
|
||||
if (this.hasOwnProperty(key)) {
|
||||
return String(this[key]);
|
||||
}
|
||||
return null;
|
||||
|
載入中…
x
新增問題並參考
Block a user