{"ScriptPreparationCode":"var arr = Array.from(Array(10000).keys());\r\nvar mode = \u0027include\u0027;\r\nvar id = 5000;","TestCases":[{"Name":"ifs","Code":"var is = (mode === \u0027exclude\u0027 \u0026\u0026 arr.includes(id)) || (mode === \u0027include\u0027 \u0026\u0026 arr.length \u003E 0 \u0026\u0026 !arr.includes(id))","IsDeferred":false},{"Name":"ternary","Code":"var is = arr.length ? (mode === \u0027exclude\u0027 ? arr.includes(id) : !arr.includes(id)) : false","IsDeferred":false}]}