+ Start a Discussion
Navin SelvarajNavin Selvaraj 

In JavaScript, For the Expression Evaluation, Eval function is there to perform the operation. In Lightning, How we can able to perform the expression evaluation. Is there any special method is there?? Please Kindly help me out regarding this??

In JavaScript, For the Expression Evaluation, Eval function is there to perform the operation. In Lightning, How we can able to perform the expression evaluation. Is there any special method is there??  Please Kindly help me out regarding this??
Ashish DevAshish Dev
eval should work in lightning as well, what is the issue you are facing?
Navin SelvarajNavin Selvaraj
Eval is not working in lightning. When i am using Eval function in lightning, the error called Eval function, the follwing error is throwing.
1.  Invalid SecureWindow API, eval was blacklisted  
2.  eval can be harmful.  

Please do help for me to solve this issue.
Ashish DevAshish Dev
hmm ... i.e. salesforce has blocked eval... Can you tell us what are you trying to achieve through eval. May be we can help you in that.