Skip to content
ExamplesOpen editor ↗

phimolaPolokelo

→ clearStorage()

Clears sketch-managed storage.

phimolaPolokelo()

Storage belongs to the shared preview.bopa.dev origin, not an individual sketch or account. Prefix keys with a sketch name. Other sketches can read or change them; do not store credentials. Browser partitioning, privacy settings and quota can limit persistence. Removes every p5TypeID metadata key and its paired value across this shared storage partition, including other sketches. Unrelated native localStorage keys remain. Use tlosaSelo for one sketch’s keys. Returns undefined.

Clears sketch-managed storage.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaKonopo("Phimola polokelo ya ditiro tsotlhe");
  dirisaMoGo(e, pebaEKonyilwe, () => phimolaPolokelo());
}

bopaTemana, dirisaMoGo