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