Konnor Rogers on Nostr: Who decided the argument order of Map.prototype.forEach is: (value, key, map) instead ...
Who decided the argument order of Map.prototype.forEach
is: (value, key, map)
instead of
(key, value, map)
who the fuck expects value to come before key??
Especially when Map.prototype.entries() is:
[key, value]
Published at
2024-08-27 01:35:10 UTCEvent JSON
{
"id": "309817309641f161f64b6cedbaea87b07f346ecea120caaa304204c645af4d7f",
"pubkey": "8a5c0c7469bdf1e0ad40ef5907437c8bee8a56f04de92b20070c163344dce6c3",
"created_at": 1724722510,
"kind": 1,
"tags": [
[
"proxy",
"https://ruby.social/@konnorrogers/113031414435298510",
"web"
],
[
"proxy",
"https://ruby.social/users/konnorrogers/statuses/113031414435298510",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://ruby.social/users/konnorrogers/statuses/113031414435298510",
"pink.momostr"
],
[
"-"
]
],
"content": "Who decided the argument order of Map.prototype.forEach\n\nis: (value, key, map)\n\ninstead of \n\n(key, value, map)\n\nwho the fuck expects value to come before key??\n\nEspecially when Map.prototype.entries() is:\n\n[key, value]",
"sig": "ae4f05a069cff5da1d5d97c587dff6def7fd5b295dfa1b8bc3204b9a45a736d659d91749ec6adb6ea4cf82af08a252d1e77fd2ad180d6c67c9e43a6a475811ca"
}