# wx.clearStorageSync()
The synchronous version of wx.clearStorage.
# Sample Code
wx.clearStorage()
try {
wx.clearStorageSync()
} catch(e) {
// Do something when catch error
}
The synchronous version of wx.clearStorage.
wx.clearStorage()
try {
wx.clearStorageSync()
} catch(e) {
// Do something when catch error
}