문제 링크 : Number of Changing Keys
/**
* @param {string} s
* @return {number}
*/
var countKeyChanges = function(s) {
s = s.toLowerCase()
let count = 0
for(let i=0; i<s.length-1; i++) {
if(s[i] !== s[i+1]) count++
}
return count
};