{"ScriptPreparationCode":"function isEmpty1(obj) {\r\n return (Object.keys(obj).length === 0) \u0026\u0026 obj.constructor === Object;\r\n}\r\nfunction isEmpty2(obj) {\r\n for (key in obj) {\r\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\nvar a = {};","TestCases":[{"Name":"isEmpty1","Code":"var count = 1000;\r\nfor (i=0;i\u003Ccount;i\u002B\u002B) isEmpty1(a);","IsDeferred":false},{"Name":"isEmpty2","Code":"var count = 1000;\r\nfor (i=0;i\u003Ccount;i\u002B\u002B) isEmpty2(a);","IsDeferred":false}]}