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