Skip to content

Instantly share code, notes, and snippets.

@mt3o
Last active December 23, 2015 23:49
Show Gist options
  • Save mt3o/6712562 to your computer and use it in GitHub Desktop.
Save mt3o/6712562 to your computer and use it in GitHub Desktop.
var data = "hello world!";
fresh.save(data, 3); //zapis, 3 jest indeksem pod którym chowany dane
fresh.get(3, function(wynik) { //odczyt danych spod indeksu 3
alert(wynik);
} );
fresh.clear(3); //usunięcie danych spod indeksu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment