{"ScriptPreparationCode":"var a = {\r\n lastPrice: \u00271234.345\u0027,\r\n contractVal: 109,\r\n marginAsset: \u0027GET\u0027,\r\n baseAsset: \u0027ASG\u0027,\r\n quoteAsset: \u0027ASFE\u0027,\r\n quantityPrecision: 8,\r\n pricePrecision: 4,\r\n equalQtyPrecision: 6,\r\n tickSize: 0.001,\r\n limitStepSize: 0.001,\r\n marketStepSize: 0.01,\r\n };\r\nvar p = {\r\nadl: 1234,\r\n askNotional: 2345236,\r\n bidNotional: 34636,\r\n collateral: \u0027AFE\u0027,\r\n marginAsset: \u0027EJG\u0027,\r\n cumRealized: 142565,\r\n entryPrice: 2356,\r\n id: \u00273452562\u0027,\r\n isolated: true,\r\n isolatedWallet: 1225,\r\n leverage: 23,\r\n markPrice: 34346,\r\n lastPrice: 567458,\r\n initialMarkPrice: 23456,\r\n notionalValue: 345346,\r\n positionSize: 45748,\r\n positionSide: \u0027ASGO\u0027,\r\n symbol: \u0027ASGT\u0027,\r\n unrealizedProfit: 1235,\r\n selectPrice: 12345,\r\n pushTime: 12435634578\r\n}\r\nvar b = {\r\n collateral: \u0027ASDG\u0027,\r\n askNotional: 1245,\r\n bidNotional: 3467,\r\n cumRealized: 5736,\r\n entryPrice: 23567,\r\n isolatedWallet: 23536,\r\n markPrice: 23678,\r\n notionalValue: 347345,\r\n positionSize: 3245247,\r\n unrealizedProfit: 3477,\r\n };","TestCases":[{"Name":"lodash merge","Code":"var c = _.merge({}, a, p, b);","IsDeferred":false},{"Name":"Object.assign","Code":"var c = Object.assign({}, a, p, b);","IsDeferred":false},{"Name":"spread","Code":"var c = {...a, ...p, ...c};","IsDeferred":false}]}