📅  最后修改于: 2022-03-11 15:03:40.192000             🧑  作者: Mango
Use the in operator:
testArray = 'key1' in obj;
Sidenote: What you got there, is actually no jQuery object, but just a plain JavaScript Object