Symptom
In Script Tasks, there are now "no-var: Unexpected var, use let or const instead" appears. What do we need to do?
Resolution
From ECMAScript 6 JavaScript version, you can use "let" and "const" keywords for variables with block scope instead of function scope, which is common in many other programming languages. They are only warnings to encourage users to use "let" or "const" to avoid "var" which is a function scope variables easily causes mistakes happen.
Keywords
no-var,unexpected,var,let,const,warning,script,tasks,task,process,governance,process_governance,javascript , KBA , BPI-SIG-PG-JS , JavaScript for SAP Signavio Process Governance , How To