796-rotate-string

DevGod
Vtuber
/** * @param {string} s * @param {string} goal * @return {boolean} */var rotateString = function(s, goal) { return s.length === goal.length && (s+s).includes(goal);};
/** * @param {string} s * @param {string} goal * @return {boolean} */var rotateString = function(s, goal) { return s.length === goal.length && (s+s).includes(goal);};