{"ScriptPreparationCode":"var string = \u0060A\t\t\t\t\t\t\tCBASCDASC\tcascasc \tqwcqwcqwc\t\t\tqwcqwfcqwc\r\nasas\r\nas\r\nas\r\nasas\u0060","TestCases":[{"Name":"regex","Code":"let i = 0;\r\nlet num = 0;\r\nwhile (i \u003C string.length) {\r\n if (/\\s/.test(string[i])) {\r\n \t\u002B\u002Bnum;\r\n }\r\n i\u002B\u002B;\r\n}","IsDeferred":false},{"Name":"manual","Code":"let i = 0;\r\nlet num = 0;\r\nwhile (i \u003C string.length) {\r\n if (\u0022 \\f\\n\\r\\t\\v\\u00A0\\u2028\\u2029\u0022.includes(string[i])) {\r\n \t\u002B\u002Bnum;\r\n }\r\n i\u002B\u002B;\r\n}","IsDeferred":false},{"Name":"switch","Code":"let i = 0;\r\nlet num = 0;\r\n\r\nfunction test(ch) {\r\n switch (ch) {\r\n case \u0022 \u0022:\r\n case \u0022\\f\u0022:\r\n case \u0022\\n\u0022:\r\n case \u0022\\r\u0022:\r\n case \u0022\\t\u0022:\r\n case \u0022\\v\u0022:\r\n case \u0022\\u00A0\u0022:\r\n case \u0022\\u2028\u0022:\r\n case \u0022\\u2029\u0022:\r\n return true;\r\n }\r\n return false;\r\n}\r\n\r\nwhile (i \u003C string.length) {\r\n const text = string[i];\r\n if (test(text)) {\r\n\t\u002B\u002Bnum;\r\n }\r\n i\u002B\u002B;\r\n}","IsDeferred":false},{"Name":"inline","Code":"let i = 0;\r\nlet num = 0;\r\n\r\nwhile (i \u003C string.length) {\r\n const ch = string[i];\r\n switch (ch) {\r\n case \u0022 \u0022:\r\n case \u0022\\f\u0022:\r\n case \u0022\\n\u0022:\r\n case \u0022\\r\u0022:\r\n case \u0022\\t\u0022:\r\n case \u0022\\v\u0022:\r\n case \u0022\\u00A0\u0022:\r\n case \u0022\\u2028\u0022:\r\n case \u0022\\u2029\u0022:\r\n \u002B\u002Bnum;\r\n }\r\n i\u002B\u002B;\r\n}","IsDeferred":false}]}