Storage removeItem 方法

removeItem(
  key: string
): void;

如果鍵/值組合與 指定的鍵已存在。

範例

GameSnacks.storage.removeItem('starsEarned');