<?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: Dheeraj Kumar Rao</title>
    <description>The latest articles on DEV Community by Dheeraj Kumar Rao (@rao123dk).</description>
    <link>https://dev.to/rao123dk</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%2F132082%2Faf663e78-0669-4c53-a714-1f93c03316a7.jpg</url>
      <title>DEV Community: Dheeraj Kumar Rao</title>
      <link>https://dev.to/rao123dk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rao123dk"/>
    <language>en</language>
    <item>
      <title>{… Many ways in JavaScript }</title>
      <dc:creator>Dheeraj Kumar Rao</dc:creator>
      <pubDate>Sat, 26 Jan 2019 18:19:10 +0000</pubDate>
      <link>https://dev.to/rao123dk/-many-ways-in-javascript--ofh</link>
      <guid>https://dev.to/rao123dk/-many-ways-in-javascript--ofh</guid>
      <description>&lt;p&gt;&lt;strong&gt;IIFE(Immediately Invoked Function Expression)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;An IIFE (Immediately Invoked Function Expression) is a JavaScript function that runs as soon as it is defined.&lt;/p&gt;

&lt;p&gt;Here we are going to write IIFE by 12 ways.&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Creating Arrays&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The JavaScript Array object is a global object that is used in the construction of arrays; which are high-level, list-like objects. For this topic I would like to say thanks to 2ality.com .&lt;/p&gt;

&lt;p&gt;Here we are going to create array by 10 ways.&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Define Function&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Functions are one of the fundamental building blocks in JavaScript. A function is a JavaScript procedure — a set of statements that performs a task or calculates a value. To use a function, you must define it somewhere in the scope from which you wish to call it.&lt;/p&gt;

&lt;p&gt;Here we can write function by 6+ ways.&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Covert to Number&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Number JavaScript object is a wrapper object allowing you to work with numerical values. A Number object is created using the Number() constructor. A primitive type object number created using the Number() function.&lt;/p&gt;

&lt;p&gt;Here we can convert string to Number by 9 ways.&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


</description>
      <category>javascript</category>
      <category>recatjs</category>
      <category>angular</category>
      <category>vue</category>
    </item>
  </channel>
</rss>
