{"ScriptPreparationCode":"var arr = [\u0027a\u0027, \u0027b\u0027, \u0027c\u0027];","TestCases":[{"Name":"reduce","Code":"arr.reduce((curr, acc) =\u003E { if(curr === \u0027a\u0027) return [...curr, acc]; return curr }, [])","IsDeferred":false},{"Name":"map\u002Bfilter","Code":"arr.map(curr =\u003E curr === \u0027a\u0027 ? curr : undefined).filter(Boolean)","IsDeferred":false}]}