{"ScriptPreparationCode":"var obj = {\r\n \u0027a\u0027: 1,\r\n \u0027b\u0027: 1,\r\n \u0027c\u0027: 1,\r\n \u0027d\u0027: 1,\r\n \u0027e\u0027: 1,\r\n \u0027f\u0027: 1,\r\n \u0027g\u0027: 1\r\n};\r\n\r\nfunction isEmptyFor(obj) {\r\n for (var key in obj) {\r\n return false;\r\n }\r\n return true;\r\n}\r\n\r\nfunction isEmptyObject(obj) {\r\n return Object.keys(obj).length === 0;\r\n}","TestCases":[{"Name":"for-in","Code":"isEmptyFor(obj)","IsDeferred":false},{"Name":"Object.keys","Code":"isEmptyObject(obj)","IsDeferred":false}]}