{"ScriptPreparationCode":"var lista1 = [\u0022red\u0022, \u0022orange\u0022, \u0022green\u0022,20 , 40, 57, \u0022blue\u0022, \u0022white\u0022, \u0022black\u0022, \u0022yellow\u0022, 4 ,7, 1, 9 , 45 , 78 , 95 ]\r\nvar lista2 = [ \u0022white\u0022, 95, \u0022red\u0022, 78, \u0022blue\u0022]","TestCases":[{"Name":"Filter \u002B indexOF","Code":"let myArray = lista1.filter( function( el ) {\r\n return lista2.indexOf( el ) \u003C 0;\r\n} );","IsDeferred":false},{"Name":"Filter \u002B includes ","Code":"let myArray = lista1.filter( function( el ) {\r\n return !lista2.includes( el );\r\n} );\r\n\r\n\r\n","IsDeferred":false},{"Name":"for \u002B indexof","Code":"let novaLista = []\r\nfor (let index = 0; index \u003C lista1.length; index\u002B\u002B) {\r\n const elementLista1 = lista1[index];\r\n if (lista2.indexOf( elementLista1 ) \u003C 0) novaLista.push(elementLista1)\r\n}","IsDeferred":false}]}