Android IDE (AIDE) Support Forum

AIDE - JavaScript

Hello everybody,

please update JavaScript.

Following code are not working on AIDE, but otherwise in other free JavaScript console apps:

function change(string, interval) {
for (let i=interval-1; i<string.length;i+=interval) {
if (string.charAt(i)==string.charAt(i).toUpperCase()) {
string=string.substr(0,i)+string.charAt(i).toLowerCase()+string.substr(i+1);
} else {
string=string.substr(0,i)+string.charAt(i).toUpperCase()+string.substr(i+1);
}
}
return string;
}

I have the free version of AIDE Web.

Regards and thanks

1 Like