moochannel on Nostr: /run typescript5 const words = '\u30b4\u30ea' const shuffled = ...
/run typescript5
const words = '\u30b4\u30ea'
const shuffled = [...words.repeat(2)].sort(() => Math.random() - 0.5)
console.log(shuffled)
Published at
2023-08-21 08:46:01Event JSON
{
"id": "e458fe99e935da998c1dcfc8c6701d8b2753ab1b85b0317c9c6801149873707b",
"pubkey": "7e8e19bf9059280daff3bc0a49604abfca581ed5834d26b498f46825a5ab05c4",
"created_at": 1692607561,
"kind": 1,
"tags": [],
"content": "/run typescript5\n\nconst words = '\\u30b4\\u30ea'\nconst shuffled = [...words.repeat(2)].sort(() =\u003e Math.random() - 0.5)\nconsole.log(shuffled)",
"sig": "6db7c682d34ef39e70e80cd92d5907c9fa722e1d5a379d011ba94bbc0bd722db70f30d1fc9e0849b72fcc8951190f237f5170c0dd4060eb198a950cc98761e40"
}