'PERSISTENT' 变量存在于 Microsoft Edge 的 window 对象中,但不存在于 Mozilla Firefox 中。为什么?
'PERSISTENT' variable present in window object of Microsoft Edge, But not in Mozilla Firefox. why?
'PERSISTENT' 变量存在于 Microsoft Edge 的 window 对象中,但不存在于 Mozilla Firefox 中。默认值为 1,这个变量是什么??
//In Microsoft Edge
console.log(typeof(PERSISTENT)); //Number
console.log(PERSISTENT); //1`enter code here`
//In Mozilla Firefox
console.log(typeof(PERSISTENT)); //undefined
console.log(PERSISTENT); //Uncaught ReferenceError: PERSISTENT is not defined
解释如果有的话?
这是 Chromium 开发的 non-standard file system API 的枚举。
它与 window.TEMPORARY
枚举配对,用作 window.requestFileSystem(type, size, successCallback[, errorCallback]);
的 type
参数
请注意,此 API 已被 Native File System API 取代,后者不再使用这些枚举。
'PERSISTENT' 变量存在于 Microsoft Edge 的 window 对象中,但不存在于 Mozilla Firefox 中。默认值为 1,这个变量是什么??
//In Microsoft Edge
console.log(typeof(PERSISTENT)); //Number
console.log(PERSISTENT); //1`enter code here`
//In Mozilla Firefox
console.log(typeof(PERSISTENT)); //undefined
console.log(PERSISTENT); //Uncaught ReferenceError: PERSISTENT is not defined
解释如果有的话?
这是 Chromium 开发的 non-standard file system API 的枚举。
它与 window.TEMPORARY
枚举配对,用作 window.requestFileSystem(type, size, successCallback[, errorCallback]);
type
参数
请注意,此 API 已被 Native File System API 取代,后者不再使用这些枚举。