if key in dict javascript code example Example: js dictionary contains key "key" in obj // true, regardless of the actual value