{"ScriptPreparationCode":null,"TestCases":[{"Name":"Assign","Code":"const myObj = {\r\n one: \u0022one\u0022,\r\n two: \u0022two\u0022,\r\n three: \u0022three\u0022\r\n};\r\n\r\nfunction foo(myObj){\r\n\r\nreturn {\r\n\tone: myObj.one,\r\n \ttwo: myObj.two,\r\n\tthree: myObj.three\r\n}\r\n}\r\n\r\nconst result = foo(myObj);","IsDeferred":false},{"Name":"Destructure","Code":"const myObj = {\r\n one: \u0022one\u0022,\r\n two: \u0022two\u0022,\r\n three: \u0022three\u0022\r\n};\r\n\r\nfunction foo(myObj){\r\nconst {one, two, three} = myObj;\r\nreturn {\r\n\tone: one,\r\n \ttwo: two,\r\n\tthree: three\r\n}\r\n}\r\n\r\nconst result = foo(myObj);","IsDeferred":false}]}