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

Re: Validation Exit with XSJS

$
0
0

Wenjun Zhou wrote:

 

Hi Aamod,

 

You need to use "var" instead of "let" which does not exist in the syntax of JavaScript. I think it's pseudo code in Tutorial: Creating a Modification Exit with XS JavaScript - SAP HANA Developer Guide - SAP Library

 

Best regards,

Wenjun

I'm sorry but you are wrong. LET is valid syntax.  JSLint might report it as a syntax error but it does activate correctly with the checks on the server side.

 

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>