{"ScriptPreparationCode":"var emptyPair = {\r\n pair: \u0027\u0027,\r\n svc: \u0027\u0027,\r\n rate: 0,\r\n rateId: \u0027\u0027,\r\n limit: 0,\r\n min: 0,\r\n minerFee: 0,\r\n unavailable: true,\r\n details: \u0027\u0027,\r\n maxLimit: 0,\r\n chainPair: \u0027\u0027,\r\n}\r\n\r\nvar emptyPairNullProto = Object.create(null)\r\nemptyPairNullProto.pair = \u0027\u0027\r\nemptyPairNullProto.svc = \u0027\u0027\r\nemptyPairNullProto.rate = 0\r\nemptyPairNullProto.rateId = \u0027\u0027\r\nemptyPairNullProto.limit = 0\r\nemptyPairNullProto.min = 0\r\nemptyPairNullProto.minerFee = 0\r\nemptyPairNullProto.unavailable = true\r\nemptyPairNullProto.details = \u0027\u0027\r\nemptyPairNullProto.maxLimit = 0\r\nemptyPairNullProto.chainPair = \u0027\u0027","TestCases":[{"Name":"Object.create()","Code":"const a = Object.create(emptyPair, {\r\n details: { value: \u0027new details\u0027},\r\n pair: {value: \u0027from_to\u0027}\r\n})","IsDeferred":false},{"Name":"Destructure","Code":"const b = {\r\n\t...emptyPair,\r\n\tdetails: \u0027new details\u0027,\r\n\tpair: \u0027from_to\u0027,\r\n}","IsDeferred":false},{"Name":"Object.create() null proto","Code":"const c = Object.create(emptyPairNullProto, {\r\n details: { value: \u0027new details\u0027},\r\n pair: {value: \u0027from_to\u0027}\r\n})","IsDeferred":false},{"Name":"Destructure null proto","Code":"const d = {\r\n\t...emptyPairNullProto,\r\n\tdetails: \u0027new details\u0027,\r\n\tpair: \u0027from_to\u0027,\r\n}","IsDeferred":false}]}