Khalid ⚡ on Nostr: I think #JavaScript could really use a `getElementsByIds`. It would remove the ...
I think #JavaScript could really use a `getElementsByIds`. It would remove the redundancy of needing multiple lines of `document.getElementById`. You could then deconstruct into variables.
Published at
2024-09-19 19:04:08Event JSON
{
"id": "5226d0470f0b7691657b850e26685479714eec50c8b11bd60fdd31c08ddd3ba1",
"pubkey": "8473d11f1a7de76a81e7ef02e19a62a1b44382d1cece56a737e5e073b504fc85",
"created_at": 1726772648,
"kind": 1,
"tags": [
[
"t",
"javascript"
],
[
"proxy",
"https://mastodon.social/users/khalidabuhakmeh/statuses/113165772302703611",
"activitypub"
]
],
"content": "I think #JavaScript could really use a `getElementsByIds`. It would remove the redundancy of needing multiple lines of `document.getElementById`. You could then deconstruct into variables.\n\nhttps://files.mastodon.social/media_attachments/files/113/165/772/175/668/925/original/58046967abda17a1.png",
"sig": "3be8f16d90253b23d3906158c074ca86bb612e9789d00cd0caf8f5f4c5dab3d167f9004ad9c6e1d57f8e50a221710e19312ab8deb9dffb2991d5e0482f20d769"
}