{"ScriptPreparationCode":"appConfig = {\r\n name: \u0027John\u0027,\r\n age: 30,\r\n address: {\r\n street: \u0027123 Main St\u0027,\r\n city: \u0027Anytown\u0027,\r\n state: \u0027CA\u0027,\r\n zip: \u002712345\u0027\r\n },\r\n hobbies: [\u0027reading\u0027, \u0027painting\u0027, \u0027hiking\u0027, \u0027cooking\u0027, \u0027traveling\u0027, \u0027photography\u0027, \u0027gaming\u0027, \u0027writing\u0027, \u0027yoga\u0027, \u0027dancing\u0027],\r\n favoriteFoods: [{\r\n name: \u0027Pizza\u0027,\r\n type: \u0027Italian\u0027,\r\n ingredients: [\u0027cheese\u0027, \u0027pepperoni\u0027, \u0027mushrooms\u0027, \u0027olives\u0027, \u0027tomatoes\u0027]\r\n },\r\n {\r\n name: \u0027Sushi\u0027,\r\n type: \u0027Japanese\u0027,\r\n ingredients: [\u0027rice\u0027, \u0027nori\u0027, \u0027fish\u0027, \u0027vegetables\u0027, \u0027wasabi\u0027, \u0027soy sauce\u0027]\r\n },\r\n {\r\n name: \u0027Tacos\u0027,\r\n type: \u0027Mexican\u0027,\r\n ingredients: [\u0027tortillas\u0027, \u0027beef\u0027, \u0027chicken\u0027, \u0027beans\u0027, \u0027lettuce\u0027, \u0027tomatoes\u0027, \u0027salsa\u0027, \u0027guacamole\u0027]\r\n }\r\n ],\r\n friends: [{\r\n name: \u0027Sarah\u0027,\r\n age: 28,\r\n address: {\r\n street: \u0027456 Elm St\u0027,\r\n city: \u0027Anytown\u0027,\r\n state: \u0027CA\u0027,\r\n zip: \u002712345\u0027\r\n },\r\n hobbies: [\u0027reading\u0027, \u0027traveling\u0027, \u0027hiking\u0027],\r\n favoriteFoods: [{\r\n name: \u0027Pad Thai\u0027,\r\n type: \u0027Thai\u0027,\r\n ingredients: [\u0027noodles\u0027, \u0027shrimp\u0027, \u0027tofu\u0027, \u0027peanuts\u0027, \u0027vegetables\u0027, \u0027spices\u0027]\r\n },\r\n {\r\n name: \u0027Biryani\u0027,\r\n type: \u0027Indian\u0027,\r\n ingredients: [\u0027rice\u0027, \u0027chicken\u0027, \u0027spices\u0027, \u0027yogurt\u0027, \u0027onions\u0027]\r\n }\r\n ]\r\n },\r\n {\r\n name: \u0027Tom\u0027,\r\n age: 32,\r\n address: {\r\n street: \u0027789 Oak St\u0027,\r\n city: \u0027Anytown\u0027,\r\n state: \u0027CA\u0027,\r\n zip: \u002712345\u0027\r\n },\r\n hobbies: [\u0027gaming\u0027, \u0027photography\u0027, \u0027traveling\u0027],\r\n favoriteFoods: [{\r\n name: \u0027Burger\u0027,\r\n type: \u0027American\u0027,\r\n ingredients: [\u0027beef\u0027, \u0027bun\u0027, \u0027cheese\u0027, \u0027lettuce\u0027, \u0027tomato\u0027, \u0027onion\u0027, \u0027pickles\u0027, \u0027ketchup\u0027, \u0027mustard\u0027]\r\n },\r\n {\r\n name: \u0027Sushi\u0027,\r\n type: \u0027Japanese\u0027,\r\n ingredients: [\u0027rice\u0027, \u0027nori\u0027, \u0027fish\u0027, \u0027vegetables\u0027, \u0027wasabi\u0027, \u0027soy sauce\u0027]\r\n }\r\n ]\r\n }\r\n ]\r\n};","TestCases":[{"Name":"Reflect","Code":"const key = \u0027name1\u0027;\r\nif (Reflect.has(appConfig, key)) {\r\n console.log(appConfig[key]);\r\n}","IsDeferred":false},{"Name":"Direct","Code":"const key = \u0027name1\u0027;\r\nif (appConfig[key]) {\r\n console.log(appConfig[key]);\r\n}","IsDeferred":false}]}