I have a textarea and it contains the javascript code. I want to execute this code using API and want to send the response after executing.
Like
var a = 'some text'
var b = 'ather text'
var c = 123;
var d = a + ' ' +b + ' ' + c;
d + '';
In this case I should get the response
'some text ather text 123'
It is the same as podio calculation field works. I can execute this code using the eval function but due to some security concern I do not want to use eval.
Thank you :)