(Using javascript)
I've seen some answers saying dictionary.has("key") will evaluate to true or false based on if the key is in the dictionary. For some reason, this hasn't worked for me at all. Only dictionary["key"] != "undefined" works for me. Why is this?