cara mengonversi string ke case alternatif di javascript
const alternateCase = () => {
var newText = text.toLowerCase().split("");
for (var i = 0; i < newText.length; i += 2) {
newText[i] = newText[i].toUpperCase();
}
return newText.join("");
};
mrmalik610