check value of key in browser console code example Example: js key in dict "key" in obj // true, regardless of the actual value