Open TemitaTom opened 7 years ago
IE supports try..catch..finally since ie6. I think the issue lies within your control flow that handles the result of addToLocalStorage. Could you share your implementation?
I confirmed compatibility with ie9 and ie10 using this fiddle: https://jsfiddle.net/x78novpf/2/.
Hi, yes, try..finally works well but in this case fails inside http calback function only. And some functions with try...finally not all parts return data.
Hi, some errors in javascript
Versions:
Case: Inside callback function, localStorage plugin call "finally" clause after try catch. This not work in IE 12- For solve this, please use try catch correcly -if is possible- and return in every function a default object if it is fail.
Example:
Current code
Working code
thanks