# wx.removeStorageSync(string key)
with Promise style call: Supported
Mini Program plugin: Support, need to Mini Program base library version no less than 1.9.6
wx.removeStorage The synchronous version of
# parameter
# string key
Specified in the local cache key
# sample code
wx.removeStorage({
key: 'key',
success (res) {
console.log(res)
}
})
try {
wx.removeStorageSync('key')
} catch (and) {
// From the something when catch error
}