{"ScriptPreparationCode":"function getRandoBoolean() {\r\n return !!(Math.floor(Math.random() * 2));\r\n}\r\n\r\nfunction getRandoString() {\r\n return !!(Math.floor(Math.random() * 2)) ? \u0027accepted\u0027 : \u0027rejected\u0027;\r\n}\r\n\r\nfunction getRandoShortString() {\r\n return !!(Math.floor(Math.random() * 2)) ? \u0027y\u0027 : \u0027\u0027;\r\n}\r\n\r\n\r\nvar arrB = [...(new Array(1000))].map(v =\u003E getRandoBoolean());\r\nvar arrStr = [...(new Array(1000))].map(v =\u003E getRandoString());\r\nvar arrShortStr = [...(new Array(1000))].map(v =\u003E getRandoShortString());\r\n\r\nvar arrObjB = [...(new Array(1000))].map(v =\u003E getRandoBoolean() ? {ok : true ,b: \u0027value\u0027}: {ok : false ,c: \u0027value\u0027});\r\nvar arrObjStr = [...(new Array(1000))].map(v =\u003E getRandoBoolean() ? {ok : \u0027yes\u0027 ,b: \u0027value\u0027}: {ok : \u0027no\u0027 ,c: \u0027value\u0027});\r\nvar arrObjProp = [...(new Array(1000))].map(v =\u003E getRandoBoolean() ? {ok : true ,b: \u0027value\u0027}: { c: \u0027value\u0027});","TestCases":[{"Name":"rObjB","Code":"const rObjB = arrObjB.reduce((acc, v) =\u003E v.ok ? acc \u002B \u0027yes\u0027 : acc \u002B \u0027no\u0027, \u0027\u0027);","IsDeferred":false},{"Name":"rObjBStrict","Code":"const rObjBStrict = arrObjB.reduce((acc, v) =\u003E v.ok === true ? acc \u002B \u0027yes\u0027 : acc \u002B \u0027no\u0027, \u0027\u0027);","IsDeferred":false},{"Name":"rObjStr","Code":"const rObjStr = arrObjStr.reduce((acc, v) =\u003E v.ok === \u0027yes\u0027 ? acc \u002B \u0027yes\u0027 : acc \u002B \u0027no\u0027, \u0027\u0027);","IsDeferred":false},{"Name":"rObjProp","Code":"const rObjProp = arrObjProp.reduce((acc, v) =\u003E v.ok ? acc \u002B \u0027yes\u0027 : acc \u002B \u0027no\u0027, \u0027\u0027);","IsDeferred":false},{"Name":"rObjPropIn","Code":"const rObjPropIn = arrObjProp.reduce((acc, v) =\u003E \u0027ok\u0027 in v? acc \u002B \u0027yes\u0027 : acc \u002B \u0027no\u0027, \u0027\u0027);","IsDeferred":false},{"Name":"rObjPropOpt","Code":"const rObjPropOpt = arrObjProp.reduce((acc, v) =\u003E v?.ok ? acc \u002B \u0027yes\u0027 : acc \u002B \u0027no\u0027, \u0027\u0027);","IsDeferred":false}]}