Doubt: I would like to know a way to use Cookie
, as if it were a Array
.
Problem: I can not figure out how to do this.
Example: Suppose I have a Array
called Foo
which would be as follows:
var Foo = ["qualquer coisa, que esteja|escrito-simbolos*e_outros","qualquer coisa, que esteja|escrito-simbolos*e_outros"];
And I would like to store this information in a Cookie
named FooArray
, and then I could redeem the value of Cookie
and use it as a Array
.
How could it be done?