{"ScriptPreparationCode":null,"TestCases":[{"Name":"destructor","Code":"let config = {x:1, y:\u0027foo\u0027, z: {here:true}};\r\nlet a, b, c;\r\nfunction run(conf){\r\n let {x,y,z} = config;\r\n if(x \u0026\u0026 typeof x === \u0027number\u0027){ a = x; }\r\n if(y \u0026\u0026 typeof y === \u0027string\u0027){ b = y; }\r\n if(z \u0026\u0026 typeof z === \u0027object\u0027 \u0026\u0026 z.here){ c = z }\r\n}\r\nrun(config);","IsDeferred":false},{"Name":"old school","Code":"let config = {x:1, y:\u0027foo\u0027, z: {here:true}};\r\nlet a, b, c;\r\nfunction run(conf){\r\n if(conf.x \u0026\u0026 typeof conf.x === \u0027number\u0027){ a = conf.x; }\r\n if(conf.y \u0026\u0026 typeof conf.y === \u0027string\u0027){ b = conf.y; }\r\n if(conf.z \u0026\u0026 typeof conf.z === \u0027object\u0027 \u0026\u0026 conf.z.here){ c = conf.z }\r\n}\r\nrun(config);","IsDeferred":false}]}