{"ScriptPreparationCode":"var sub = \u0022(sub)\u0022;\r\nvar textsStart = [];\r\nvar textsEnd = [];\r\nfor(var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n textsStart.push(\u0060${sub} My ${i} test sample which contains sub at the end\u0060)\r\n textsEnd.push(\u0060My ${i} test sample which contains sub at the end ${sub}\u0060)\r\n}\r\n\r\n","TestCases":[{"Name":"indexOf (start)","Code":"for(const textStart of textsStart)\r\ntextStart.indexOf(sub)","IsDeferred":false},{"Name":"indexOf (end)","Code":"for(const textEnd of textsEnd)\r\ntextEnd.indexOf(sub)","IsDeferred":false},{"Name":"startsWith (start)","Code":"for(const textStart of textsStart)\r\ntextStart.startsWith(sub)","IsDeferred":false},{"Name":"startsWith (end)","Code":"for(const textEnd of textsEnd)\r\ntextEnd.startsWith(sub)","IsDeferred":false},{"Name":"includes (start)","Code":"for(const textStart of textsStart)\r\ntextStart.includes(sub)","IsDeferred":false},{"Name":"includes (end)","Code":"for(const textEnd of textsEnd)\r\ntextEnd.includes(sub)","IsDeferred":false}]}