Answer the question
In order to leave comments, you need to log in
How to execute code from indexdb or localstorage in webworker?
There is a code that is stored in indexdb or localstorage, it needs to be run inside the worker!
How can I do that?
Answer:
var code = 'var evalfunstart = function (self) { console.log("start code (function) from web worker via eval") }';
eval(code);
evalfunstart();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question