{"ScriptPreparationCode":"const strings = [\u0027onclick\u0027, \u0027id\u0027, \u0027onhover\u0027, \u0027class\u0027];\r\nfunction getStrings(){return strings;};","TestCases":[{"Name":"String.startsWith","Code":"let matches = 0;\r\ngetStrings().forEach(str =\u003E {\r\n if(str.startsWith(\u0027on\u0027)) matches\u002B\u002B;\r\n});","IsDeferred":false},{"Name":"Array access []","Code":"let matches = 0;\r\ngetStrings().forEach(str =\u003E {\r\n if(str[0] === \u0027o\u0027 \u0026\u0026 str[0] === \u0027n\u0027) matches\u002B\u002B;\r\n});","IsDeferred":false},{"Name":"String.slice","Code":"let matches = 0;\r\ngetStrings().forEach(str =\u003E {\r\n if(str.slice(0, 2) === \u0027on\u0027) matches\u002B\u002B;\r\n});","IsDeferred":false},{"Name":"String.substr","Code":"let matches = 0;\r\ngetStrings().forEach(str =\u003E {\r\n if(str.substr(0, 2) === \u0027on\u0027) matches\u002B\u002B;\r\n});","IsDeferred":false}]}