javascript has key exists 32 Javascript Has Key Exists you could JSONObject#has, providing the key as input and check if the method returns true or false. You could also. use opt… Written By Anonymous Thursday, April 30, 2020 Add Comment Edit