题目内容
(请给出正确答案)
[单选题]
对以下代码片段作用的最准确描述是()try{constres=wx.getStorageInfoSync()console.log(res.keys)console.log(res.currentSize)console.log(res.limitSize)}catch(e){//Dosomethingwhencatcherror}
A.异步获取当前storage的相关信息。
B.同步获取当前storage的相关信息。
C.异步获取当前storage中指定key的文件信息。
D.同步获取当前storage中指定key的文件信息。
如搜索结果不匹配,请 联系老师 获取答案