Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

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

$
0
0

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 9165

Trending Articles