<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Francesito</title>
    <description>The latest articles on DEV Community by Francesito (@francesito).</description>
    <link>https://dev.to/francesito</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F850340%2F4c55d8cb-dcad-417e-b158-85abd233f157.png</url>
      <title>DEV Community: Francesito</title>
      <link>https://dev.to/francesito</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/francesito"/>
    <language>en</language>
    <item>
      <title>Solved "Convert HTML Entities" algorithm // FreeCodeCamp</title>
      <dc:creator>Francesito</dc:creator>
      <pubDate>Fri, 22 Apr 2022 16:03:52 +0000</pubDate>
      <link>https://dev.to/francesito/solved-convert-html-entities-algorithm-freecodecamp-282d</link>
      <guid>https://dev.to/francesito/solved-convert-html-entities-algorithm-freecodecamp-282d</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function convertHTML(str) {
  let arr = str.split(' ');
  let regex = [['&amp;amp;','&amp;amp;amp;'],['&amp;lt;','&amp;amp;lt;'],['&amp;gt;','&amp;amp;gt;'],['"','&amp;amp;quot;'],["'",'&amp;amp;apos;']];
  for(let x=0;x&amp;lt;arr.length;x++){
    for(let i=0;i&amp;lt;arr[x].length;i++){
      for(let y=0;y&amp;lt;regex.length;y++){
      (arr[x][i] == regex[y][0]) ?
        str = str.replace(arr[x][i],regex[y][1]) : false;
    }
    }
  }
  return str;
}
console.log(convertHTML("Sixty &amp;gt; twelve"));

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Solved 'Ordered union' / FreeCodeCamp Algorithm</title>
      <dc:creator>Francesito</dc:creator>
      <pubDate>Fri, 22 Apr 2022 04:26:53 +0000</pubDate>
      <link>https://dev.to/francesito/solved-ordered-union-freecodecampalgorithm-2ecb</link>
      <guid>https://dev.to/francesito/solved-ordered-union-freecodecampalgorithm-2ecb</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function uniteUnique(arr) {
  let arrNumbers = [];
  let newArray = [];
  for(let i=0;i&amp;lt;arguments.length;i++){
    for(let j=0;j&amp;lt;arguments[i].length;j++){
    arrNumbers.push(arguments[i][j]);
    }
  }
  for(let i=0;i&amp;lt;arrNumbers.length;i++){
     (newArray.indexOf(arrNumbers[i]) == -1) ?
      newArray.push(arrNumbers[i]) : false;
    }
  return newArray;
}
console.log(uniteUnique([1, 3, 2, 3], [5, 2, 1, 4], [2, 1]));
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
  </channel>
</rss>
