AnsweredAssumed Answered

Use of eval() function in ESRI codebase

Question asked by alterwiel on Nov 12, 2018
Latest reply on Sep 23, 2019 by randall_williams-esristaff

We have just had a web app fail due to a syntax error that was caused by the returned value of the eval() function. See this document for reasons not to use eval(). I've replaced this function with JSON.parse() and this has gotten our web app running again. Can anyone tell me why ESRI is using eval() in their code when it is known to cause problems?

Outcomes