var host = 'api-staging.eurostar.com';
{"ScriptPreparationCode":"var host = \u0027api-staging.eurostar.com\u0027;\r\nvar allowedRedirectHostsRegExp = new RegExp(\u0027eurostar.com|localhost\u0027, \u0027i\u0027);","TestCases":[{"Name":"regexs","Code":"allowedRedirectHostsRegExp.test(host);","IsDeferred":false},{"Name":"loop","Code":"[\u0027eurostar.com\u0027, \u0027localhost\u0027].includes(host);","IsDeferred":false}]}