# wx.clearStorageSync()

with Promise style call: Supported

Mini Program plugin: Not supported

wx.clearStorage The synchronous version of

# sample code

wx.clearStorage()
try {
  wx.clearStorageSync()
} catch(and) {
  // From the something when catch error
}