@mvsamuel.bsky.socialMike Samuel 🟣 @mvsamuel.bsky.social
2026-11-25 22:42 UTC
Many JS tools used constantinople so they could treat "constant expressions" as safe, uncontroversial, and reorderable. Assuming it loads without risk if the result isn't privileged. "food".indexOf("foo") is constant because indexOf is in the core language and its operands are themselves constant.
A reply in a thread.
2 likes, 0 reposts, 1 replies
3 Next post4 More from @mvsamuel.bsky.socialBackBluesky home