+ 6
FOR KrishnaTejaYeluripati ONLY!
Well hello there... I hope u see this... You've got loads of codes and if I run them it just shows errors... Mind helping me out? cuz I'm a big , young fan of yourself . I want to enjoy your codes but unfortunately errors occur all the time. =)
6 ответов
+ 12
You can just manually replace the ES6 features with supported features!
These are the most common used with the relative easiest solution:
Let keyword:
let name_var 》var name_var
Arrow functions:
( ) => { } 》function( ) { }
The Navigator can give issues too, just remove lines like:
navigator.vibrate(500);
**** FOR ALL PROGRAMMERS ****
Please, make controls before to use the Navigator, for example:
if("vibrate" in navigator)
navigator.vibrate(500);
... this will works only on supported devices removing annoying errors.
+ 16
He uses ES6 (ecmascript 6).... Not supported by all devices...
+ 13
I am planning on modifying all such codes. Can you comment (to the code) the errors you are getting?
+ 9
Problem solved!
Headway given by @ValentinHacker.
Robust solution provided by @Maz.
^-^
+ 2
Thanks everyone for taking time to explain it.
@KrishnaTejaYeluripati yea definitely!
+ 1
Upvote the question so that everyone can see this and comment their errors on your codes.