<?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: ananthaprathyusha94</title>
    <description>The latest articles on DEV Community by ananthaprathyusha94 (@ananthaprathyusha94).</description>
    <link>https://dev.to/ananthaprathyusha94</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%2F342249%2Fec2186bd-dc75-4008-ba85-ace197f08d21.png</url>
      <title>DEV Community: ananthaprathyusha94</title>
      <link>https://dev.to/ananthaprathyusha94</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ananthaprathyusha94"/>
    <language>en</language>
    <item>
      <title>JAVASCRIPT toggle upper to lower/lower to upper</title>
      <dc:creator>ananthaprathyusha94</dc:creator>
      <pubDate>Wed, 26 Feb 2020 14:31:45 +0000</pubDate>
      <link>https://dev.to/ananthaprathyusha94/javascript-toggle-upper-to-lower-lower-to-upper-f4k</link>
      <guid>https://dev.to/ananthaprathyusha94/javascript-toggle-upper-to-lower-lower-to-upper-f4k</guid>
      <description>&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function isUpperCase(str) {
    return str === str.toUpperCase();
}

function isLowerCase(str) {
    return str === str.toLowerCase();
}


var upperLowerString  = "UpperLowerCasestring";
  upperLowerString = [...upperLowerString];  
var upperLowerStringToggled = upperLowerString.map(f =&amp;gt; {
  if(isUpperCase(f))
    return f.toLowerCase();
  else
    return f.toUpperCase();

})
.reduce((a,b) =&amp;gt; a+b);

console.log(upperLowerStringToggled);


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



</description>
      <category>javascript</category>
      <category>challenge</category>
    </item>
  </channel>
</rss>
