Quantcast
Viewing all articles
Browse latest Browse all 9760

Re: How can HANA Server Side JavaScript use “Eval” function?

Hi Hou,

Yea "Eval is evil by the way". XSJS inherits most of the features of javascript but do not expect all of its features . Eval is not supported it XSJS. To create object instances , you have to directly use new key word ( no dynamic stuffs please ). Just like var now = new Date() ( instead of Eval("new Date()") )

 

 

Sreehari


Viewing all articles
Browse latest Browse all 9760

Trending Articles