How to efficiently check if a Key Value pair exists in a Javascript "dictionary" object

Viewed 38177

Given:

        var dic = {1: 11, 2: 22}

How to test if (1, 11) exists?

3 Answers
Related