Hacker News new | ask | show | jobs
by ndr 1434 days ago
Agreed that `key in m` or `m.contains(key)` would be clearer, but checking the value rather than the presence is asking for trouble.