{"ScriptPreparationCode":"var names = [\r\n \u0022.b-island-header-content-is-style-loaded\u0022,\r\n \u0022.b-island-header-content_island_top\u0022,\r\n \u0022.b-island-header-content_island_bottom\u0022,\r\n \u0022.b-island-header-content_island_all-sides\u0022,\r\n \u0022.b-island-header-content__wrapper\u0022,\r\n \u0022.b-island-header-content_display-bottom-island-padding_false .b-island-header-content__bottom-island\u0022,\r\n \u0022.b-island-header-content__bottom-island\u0022\r\n];","TestCases":[{"Name":"match","Code":"names.forEach((name) =\u003E {\r\n var matches = name.match(/^\\.([\\w-]\u002B)-is-style-loaded$/);\r\n\r\n if (matches != null) {\r\n console.log(matches[1]); \r\n }\r\n});","IsDeferred":false},{"Name":"includes","Code":"names.forEach((name) =\u003E {\r\n if (name.includes(\u0027-is-style-loaded\u0027)) {\r\n console.log(name.slice(0, name.length - \u0027-is-style-loaded\u0027.length)) \r\n }\r\n});","IsDeferred":false},{"Name":"endsWith","Code":"names.forEach((name) =\u003E {\r\n if (name.endsWith(\u0027-is-style-loaded\u0027)) {\r\n console.log(name.slice(0, name.length - \u0027-is-style-loaded\u0027.length)) \r\n }\r\n});","IsDeferred":false}]}