DEV Community

Discussion on: How to pass function to Web Workers

Collapse
 
elisiondan profile image
Daniel Charvát

The JSONfn uses eval to rebuild the function, so I'd definitely not use that for user's input.