{"ScriptPreparationCode":"var shortString = \u0027okay\u0027.repeat(20); // 80 characters\r\nvar longString = shortString.repeat(1000000); // 80,000,000 characters\r\n\r\nvar re = /\\n$/;","TestCases":[{"Name":"short endsWith","Code":"shortString.endsWith(\u0027\\n\u0027);","IsDeferred":false},{"Name":"short regexp","Code":"re.test(shortString)","IsDeferred":false},{"Name":"short charAt","Code":"shortString.charAt(shortString.length-1)===\u0027\\n\u0027","IsDeferred":false},{"Name":"short brackets","Code":"shortString[shortString.length-1]===\u0027\\n\u0027","IsDeferred":false},{"Name":"short CharCodeAt","Code":"shortString.charCodeAt(shortString.length-1)===13","IsDeferred":false},{"Name":"short slice","Code":"shortString.slice(-1)===\u0027\\n\u0027","IsDeferred":false},{"Name":"short substr","Code":"shortString.substr(-1)===\u0027\\n\u0027","IsDeferred":false},{"Name":"short substring","Code":"shortString.substring(shortString.length-1)===\u0027\\n\u0027","IsDeferred":false},{"Name":"long endsWidth","Code":"longString.endsWith(\u0027\\n\u0027);","IsDeferred":false},{"Name":"long regexp","Code":"re.test(longString)","IsDeferred":false},{"Name":"long charAt","Code":"longString.charAt(longString.length-1)===\u0027\\n\u0027","IsDeferred":false},{"Name":"long brackets","Code":"longString[longString.length-1]===\u0027\\n\u0027","IsDeferred":false},{"Name":"long charCodeAt","Code":"longString.charCodeAt(longString.length-1)===13","IsDeferred":false},{"Name":"long slice","Code":"longString.slice(-1)===\u0027\\n\u0027","IsDeferred":false},{"Name":"long substr","Code":"longString.substr(-1)===\u0027\\n\u0027","IsDeferred":false},{"Name":"long substring","Code":"longString.substring(longString.length-1)===\u0027\\n\u0027","IsDeferred":false}]}