{"ScriptPreparationCode":"var values = [1, [1, 2, 3], undefined, [4], undefined, 5];","TestCases":[{"Name":"typeof","Code":"let wrapped;\r\nfor (const value of values) {\r\n wrapped = typeof value === \u0022undefined\u0022 ? [] : Array.isArray(value) ? value : [value];\r\n}","IsDeferred":false},{"Name":"boolean conversion","Code":"let wrapped;\r\nfor (const value of values) {\r\n wrapped = !value ? [] : Array.isArray(value) ? value : [value];\r\n}","IsDeferred":false}]}