Arrow functions provide the convenience of implicit return. I am trying to achieve something similar via the Function Object but couldn't find anything. Essentially I need to evaluate an expression using the Function Object but get the value of the expression assuming the semantics of
`() => ${expression}`
result in implicit return. The function object itself is created as
new Function(expression)
The expression in this for example can be "new Date()". Workaround is to have the expression specified as "return new Date()" but it's less convenient for the person providing the expression.