So to begin with I create an array of functions using some test (like this : "alert("Hello")") and convert that text into an anonymous function using the Function(text) method. e.g.
someArray[0] = Function('alert("Hello")');
I can then run this function like so:
someArray[0]();
This works fine, however I need to be able store this array in local storage previously I have been using JSOn.Stringify to store the array however it seems that once I store the array and retrieve it from storage I can no longer run the function.
My question is how do I store the array of functions so that I can retrieve them and run them later?