personal-site/functions/frontend/textShuffle.js

13 lines
267 B
JavaScript
Raw Normal View History

2023-10-24 17:59:00 +00:00
export const textSHuffle = (text, dispatch) => {
let shuffleTimer = 0;
let startText = text;
let shuffledtext
setInterval(()=>{
shuffleTimer++
shuffledtext = startText + "whatever";
}, 200);
return shuffledtext
2022-01-06 05:27:13 +00:00
}