yunginter.net on Nostr: for (let i = notes.length - 1; i > 0; i--) { const j = Math.floor(Math.random() * (i ...
for (let i = notes.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[notes[i], notes[j]] = [notes[j], notes[i]];
}
Published at
2024-02-21 03:22:39Event JSON
{
"id": "9afa4c21da4cc9ee17c8a9d0c7e25e30e84e2568053e12b66a27463dc1fe4074",
"pubkey": "5fd693e61a7969ecf5c11dbf5ce20aedac1cea71721755b037955994bf6061bb",
"created_at": 1708485759,
"kind": 1,
"tags": [
[
"imeta",
"url https://video.nostr.build/0f8e32d2b63dcad11177cf9baa5f04bc571856aaaa6f6b2f09c80d1c85e971da.mp4",
"blurhash evPZouj[kCkBjFoffjf6fQfk00f7aeaybHjZf6f+f7e.00fjj[fjja",
"dim 1280x720"
],
[
"r",
"https://video.nostr.build/0f8e32d2b63dcad11177cf9baa5f04bc571856aaaa6f6b2f09c80d1c85e971da.mp4"
]
],
"content": "for (let i = notes.length - 1; i \u003e 0; i--) {\n const j = Math.floor(Math.random() * (i + 1));\n [notes[i], notes[j]] = [notes[j], notes[i]];\n } https://video.nostr.build/0f8e32d2b63dcad11177cf9baa5f04bc571856aaaa6f6b2f09c80d1c85e971da.mp4 ",
"sig": "a86eacccc41304b34d86555f31d0e72a49dab676a38b635f2107ac029feda3c070b1b0276c5a88c3d6167f32679f53978bb754dea4d5746b3e7d4e03cd0b0c41"
}