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