Resolve Uncaught SyntaxError: Unexpected Token >
I'm have a function to transform text in a base64 image on my Cordova App. It's working fine but in a few devices there's an Unexpected token error on the script. Here's the functi
Solution 1:
Not all devices support the ES6 arrow functions, this is especially true for older android versions that use an older chrome webview version.
If you intend on supporting older devices it may be better to stick with standard function declarations.
Further reading here:
https://strongloop.com/strongblog/an-introduction-to-javascript-es6-arrow-functions/
Post a Comment for "Resolve Uncaught SyntaxError: Unexpected Token >"