{"ScriptPreparationCode":"var arr = [1,2,3];\r\nvar notArr = null;","TestCases":[{"Name":"IsArray (array)","Code":"Array.isArray(arr) \u0026\u0026 arr.length \u003E 0","IsDeferred":false},{"Name":"IsArray (null)","Code":"Array.isArray(notArr) \u0026\u0026 notArr.length \u003E 0","IsDeferred":false},{"Name":"typecheck (nullable dot) (array)","Code":"arr?.length \u003E 0 \u0026\u0026 arr[0] !== undefined","IsDeferred":false},{"Name":"typecheck (nullable dot) (null)","Code":"notArr?.length \u003E 0 \u0026\u0026 notArr[0] !== undefined","IsDeferred":false},{"Name":"manual check cond (array)","Code":"arr !== null \u0026\u0026 arr !== undefined \u0026\u0026 arr.length \u003E 0 \u0026\u0026 arr[0] !== undefined","IsDeferred":false},{"Name":"manual check cond (null)","Code":"notArr !== null \u0026\u0026 notArr !== undefined \u0026\u0026 notArr.length \u003E 0 \u0026\u0026 notArr[0] !== undefined","IsDeferred":false},{"Name":"typeof obj \u002B length (array)","Code":"typeof arr === \u0027object\u0027 \u0026\u0026 arr !== null \u0026\u0026 arr.length \u003E 0 \u0026\u0026 arr[0] !== undefined","IsDeferred":false},{"Name":"typeof obj \u002B length (null)","Code":"typeof notArr === \u0027object\u0027 \u0026\u0026 notArr !== null \u0026\u0026 notArr.length \u003E 0 \u0026\u0026 notArr[0] !== undefined","IsDeferred":false}]}