manton on Nostr: I don’t think I’ve ever seen a bug related to == vs. === in JavaScript. Half the ...
I don’t think I’ve ever seen a bug related to == vs. === in JavaScript. Half the time we’re comparing strings anyway and it just doesn’t matter, so I why ugly up your code with an extra =? Also while I’ve being controversial, real tabs are great. 🤪
Published at
2025-01-15 00:02:25Event JSON
{
"id": "1377cb2ed131ed1f5571be371fb95ff25b2ac861f960e477eb3b9ff155771fc2",
"pubkey": "ee6aa0bdaaa8778c0ebee4d2aec6ec52c7bb17e3d8f5446615644d40c310a906",
"created_at": 1736899345,
"kind": 1,
"tags": [],
"content": "I don’t think I’ve ever seen a bug related to == vs. === in JavaScript. Half the time we’re comparing strings anyway and it just doesn’t matter, so I why ugly up your code with an extra =? Also while I’ve being controversial, real tabs are great. 🤪",
"sig": "38b2f1718eab22986b781764a576db2d047ad27e50b0abee06bb05e43e656fb6a38dee958355981eef2aa6fe3a8dfebcf91184d0fc1ed6eb845b5657cd5e6ebd"
}