I'm using Cordova and have a syntax error in Android API 23 (6 Marshmallow).
Everything works fine on API 28 (9 Pie) and API 21 (5 Lollipop) but with API 23, I have those errors :
Uncaught SyntaxError: Unexpected token =>
Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
Uncaught SyntaxError: missing ) after argument list
I'm using vanilla JS and nothing else.
What is the problem? And how could I solve it?