cancel
Showing results for 
Search instead for 
Did you mean: 

openui5_preload does not support some JS statements introduced by ECMAscript 6

heimwege
Advisor
Advisor
0 Kudos
140

Hi,

the following JS statements (introduced by ECMAscript 6) cause an error in the creating preload task:

1) optional paramaters in functions (test: function (a, b=null, c="test") { //dosomething }), see http://es6-features.org/#DefaultParameterValues

2) arrow functions (var test = a.map( s => s.length );), see http://es6-features.org/#ExpressionBodies

Is it planned to support these kind of statements?

Thanks & Best Regards

Dominik

Accepted Solutions (0)

Answers (0)