Home > Back-end >  The local store
The local store

Time:10-03

Var storage=storages. The create (" Auto. Js example: complex data ");
//var arr=[1, 4, 2, 5].
Var obj={
In the evening: "the drink,"
In the morning: "the sleeping"
};
//the data preserved or upload can be transferred to other people?
//storage. The put (arr, arr);
Storage. The put (" obj ", obj);

The console. The show ();
//remove
//log (" arr=", storage, the get (" arr "));
The log (" obj="storage. Get (" obj"));
  • Related