{"css":"","js":"/*function findAllOccurrences(arr, target) {\n var newArr = []\n for(var i=0;i<arr.length;i++){\n if(arr[i] == target){\n newArr.push(i)\n } \n }\n return newArr\n}*/ function findAllOccurrences(arr, target) {\n var res = [];\n arr.forEach((value,index)=>{\n if(value == target){\n res.push(index)\n }\n })\n return res;\n}","html":"","libs":[]}