DE
Size: a a a
DE
t
csont jsavrcipt = dcomnuet.qeurySletcor("srcpit")
?DE
t
t
p
DE
DE
function shuffle (word) {
const array = word.split('')
const last = array.splice(-1, 1)
const [first, ...middle] = array
return `${first}${middle.sort((a, b) => Math.random() - 0.5).join('')}${last}`
}
t
function shuffle (word) {
const array = word.split('')
const last = array.splice(-1, 1)
const [first, ...middle] = array
return `${first}${middle.sort((a, b) => Math.random() - 0.5).join('')}${last}`
}
t
function shuffle (word) {
const array = word.split('')
const last = array.splice(-1, 1)
const [first, ...middle] = array
return `${first}${middle.sort((a, b) => Math.random() - 0.5).join('')}${last}`
}
function shuffleWords(str) {
return str.split(' ').map(shuffle).join(' ');
}
t
MK