add eval
Closed this issue · 1 comments
fibo commented
use eval as a last fallback for not resolved tasks eval(eval('function (){return' + 'task not resolved' + '}'))
fibo commented
eval is evil :)
If a task is not resolved, dflow engine will throw, that is the right behaviour.
However, I implemented arrow functions!!!!! https://github.com/fibo/dflow/blob/master/src/engine/inject/arrowFunctions.js