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