<?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: Mayank Yadav</title>
    <description>The latest articles on DEV Community by Mayank Yadav (@myk).</description>
    <link>https://dev.to/myk</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%2F671518%2Fd330547b-4c2e-489a-89a3-4f901cb2fdc2.jpg</url>
      <title>DEV Community: Mayank Yadav</title>
      <link>https://dev.to/myk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/myk"/>
    <language>en</language>
    <item>
      <title>#15) What are Object Prototypes❓</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Wed, 18 Aug 2021 03:33:28 +0000</pubDate>
      <link>https://dev.to/myk/15-what-are-object-prototypes-5c16</link>
      <guid>https://dev.to/myk/15-what-are-object-prototypes-5c16</guid>
      <description>&lt;p&gt;All JavaScript objects inherit properties from a prototype.&lt;/p&gt;

&lt;p&gt;Prototypes are the mechanism by which JavaScript objects inherit features from one another.&lt;/p&gt;

&lt;p&gt;For example,&lt;/p&gt;

&lt;p&gt;✔Date objects inherit properties from the Date prototype.&lt;/p&gt;

&lt;p&gt;✔Math objects inherit properties from the Math prototype.&lt;/p&gt;

&lt;p&gt;✔Array objects inherit properties from the Array prototype.&lt;/p&gt;

&lt;p&gt;On top of the chain is &lt;em&gt;Object.prototype&lt;/em&gt;. Every prototype inherits properties and methods from the &lt;em&gt;Object.prototype&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;A prototype is a blueprint of an object.&lt;br&gt;
Prototype allows us to use properties and methods on an object even if the properties and methods do not exist on the current object.&lt;/p&gt;

&lt;p&gt;Let’s see prototypes help us use methods and properties:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var arr = [1,2,3,4,5];
arr.pop();            //Returns 5

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

&lt;/div&gt;



&lt;p&gt;In the code above, as one can see, we have not defined any property or method called pop on the array &lt;em&gt;arr&lt;/em&gt; but the JavaScript engine does not throw an error.&lt;/p&gt;

&lt;p&gt;The reason being the use of prototypes. As we discussed before, Array objects inherit properties from the Array prototype.&lt;/p&gt;

&lt;p&gt;The JavaScript engine sees that the method pop does not exist on the current array object and therefore, looks for the method pop inside the Array prototype and it finds the method.&lt;/p&gt;

&lt;p&gt;Whenever the property or method is not found on the current object, the JavaScript engine will always try to look in its prototype and if it still does not exist, it looks inside the prototype's prototype and so on.&lt;/p&gt;

&lt;p&gt;For more info, check out this:-&lt;br&gt;
&lt;a href="https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Object_prototypes"&gt;https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Object_prototypes&lt;/a&gt;&lt;/p&gt;




</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>career</category>
    </item>
    <item>
      <title>#14) Explain Closures in JS❓</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Wed, 11 Aug 2021 16:24:51 +0000</pubDate>
      <link>https://dev.to/myk/14-explain-closures-in-js-h8g</link>
      <guid>https://dev.to/myk/14-explain-closures-in-js-h8g</guid>
      <description>&lt;p&gt;✅A Closure is the combination of function enclosed with refrences to it's surrounding state.&lt;br&gt;
&lt;code&gt;OR&lt;/code&gt;&lt;br&gt;
✅A Closure gives you the access to an outer function's scope from an inner function.&lt;br&gt;
✅Closure are created every time a function is created.&lt;br&gt;
✅It is an ability of a function to remember the variables and function declared in it's outer scope.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frvtgfbt6uj8wxigx794r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frvtgfbt6uj8wxigx794r.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's talk about the above code👇&lt;br&gt;
💠The function &lt;code&gt;car&lt;/code&gt; gets executed and return a function when we assign it to a variable.&lt;br&gt;
&lt;code&gt;var closureFun = car();&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;💠The returned function is then executed when we invoke closureFun:&lt;br&gt;
&lt;code&gt;closureFun();&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;💠Because of closure the output is &lt;code&gt;Audi is expensive💰🤑&lt;/code&gt;&lt;br&gt;
When the function &lt;em&gt;car()&lt;/em&gt; runs, it sees that the returning function is using the variable &lt;em&gt;name&lt;/em&gt; inside it:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;console.log(name + " is expensive💰🤑");&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;💠Therefore car(), instead of destroying the value of name after execution, saves the value in the memory for further reference.&lt;/p&gt;

&lt;p&gt;💠This is the reason why the returning function is able to use the variable declared in the outer scope even after the function is already executed.&lt;/p&gt;

&lt;p&gt;✔This ability of a function to store a variable for further reference even after it is executed, is called Closure. &lt;/p&gt;




</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>career</category>
    </item>
    <item>
      <title>#13) Explain Scope and Scope Chain in JS💥</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Sat, 07 Aug 2021 16:49:02 +0000</pubDate>
      <link>https://dev.to/myk/13-explain-scope-and-scope-chain-in-js-2m31</link>
      <guid>https://dev.to/myk/13-explain-scope-and-scope-chain-in-js-2m31</guid>
      <description>&lt;h2&gt;
  
  
  🔰&lt;code&gt;Scope&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Scope determines the accessibility or visibility of a variables in your piece of code.&lt;/p&gt;

&lt;p&gt;There are 3️⃣ types of Scopes in JavaScript👇&lt;/p&gt;

&lt;p&gt;1️⃣ Global Scope&lt;br&gt;
2️⃣ Local or Function Scope&lt;br&gt;
3️⃣ Block Scope&lt;/p&gt;

&lt;h2&gt;
  
  
  🔰&lt;code&gt;Global Scope&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;✅Variables that are declared outside any function have &lt;em&gt;Global Scope&lt;/em&gt;.&lt;br&gt;
✅So, they are accessible from anywhere inside the code.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhwyslcazdb5j37r4s8gl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhwyslcazdb5j37r4s8gl.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🔰&lt;code&gt;Local or Function Scope&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;✅Variables declared inside the function are considered as local scope.&lt;br&gt;
✅Every function has it's own scope.&lt;br&gt;
✅The variable is visible inside the function and cannot be accessed outside the function.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3p9w4cd9j3h4fgwxyv4t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3p9w4cd9j3h4fgwxyv4t.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🔰&lt;code&gt;Block Scope&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;✅Whenever you see {curly brackets}, it is a block. &lt;br&gt;
✅Block Scope is related to the variables declared using let and const, which means those variables exist only within the corresponding block.&lt;br&gt;
✅Accessible inside that block and cannot be accessed outside of it.&lt;br&gt;
✅A block scope is present in codes within if, switch conditions or for and while loops.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9cags17ribqhy35m1vqz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9cags17ribqhy35m1vqz.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🔰&lt;code&gt;Scope Chain&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;✅The scope chain is simply the memory space of the function that was called, and the memory space of its outer environment.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foyfjd8x42xs16u11tf63.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foyfjd8x42xs16u11tf63.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
✔In the above example, the 1st console is for fruit2 i.e., &lt;code&gt;🥭&lt;/code&gt;. &lt;br&gt;
It Does not find 🥭 inside newFavFruit, so it looks for variable inside favFruit, returns 🥭.&lt;/p&gt;

&lt;p&gt;✔In the 2nd console, it is for fruit i.e., &lt;code&gt;🍌&lt;/code&gt;.&lt;br&gt;
It does not find 🍌 inside nestedFavFruit, so it looks for variable inside favFruit and does not find it, so looks for variable in global scope, finds it and result is 🍌.&lt;/p&gt;

&lt;p&gt;⚠As you can see, if the JavaScript engine does not find the variable in local scope, it tries to check for the variable in the outer scope. If the variable does not exist in the outer scope, it tries to find the variable in the global scope&lt;/p&gt;




</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>career</category>
    </item>
    <item>
      <title>#12) What is Currying in JS❓</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Mon, 02 Aug 2021 13:59:13 +0000</pubDate>
      <link>https://dev.to/myk/12-what-is-curring-in-js-18nb</link>
      <guid>https://dev.to/myk/12-what-is-curring-in-js-18nb</guid>
      <description>&lt;h2&gt;
  
  
  &lt;code&gt;🔰Currying&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;✅It is a advanced technique of working with functions.&lt;br&gt;
✅It is used in other languages also.&lt;br&gt;
✅It is basically to transform a function with &lt;em&gt;n&lt;/em&gt; arguments, to &lt;em&gt;n&lt;/em&gt; functions of one or less arguments.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;f(a, b, c) into f(a)(b)(c)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;💠For better understanding, here's an example👇&lt;br&gt;
✅First create a helper function &lt;em&gt;curryFun(n)&lt;/em&gt; that performs curring for two arguments.&lt;br&gt;
✅curryFun(n) does the curring transformation.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ea48B_B_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ks89ar8yx3c1q2b5r28o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ea48B_B_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ks89ar8yx3c1q2b5r28o.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💠As you can see, the implementation is straightforward&lt;br&gt;
✅It has just two wrappers.&lt;/p&gt;

&lt;p&gt;✅The result of curryFun(n) is a wrapper function(x).&lt;br&gt;
✅When it is called like multiply(10), the argument is saved in the Lexical Environment, and a new wrapper is returned function(y).&lt;/p&gt;

&lt;p&gt;✅Then this wrapper is called with (2) as an argument, and it passes the call to the original sum.&lt;/p&gt;

&lt;p&gt;⚠So if anyone want to know about more advance currying implementation such as _&lt;em&gt;.curry&lt;/em&gt;, just comment it, I'll help you out or anyone can also do!!!&lt;/p&gt;




</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>career</category>
    </item>
    <item>
      <title>#11) Explain call(), apply() &amp; bind() ❓</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Sat, 31 Jul 2021 15:13:42 +0000</pubDate>
      <link>https://dev.to/myk/11-explain-call-apply-bind-49f9</link>
      <guid>https://dev.to/myk/11-explain-call-apply-bind-49f9</guid>
      <description>&lt;h2&gt;
  
  
  &lt;code&gt;🔰call()&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;✔The &lt;em&gt;call()&lt;/em&gt; method calls a function with a given &lt;em&gt;this&lt;/em&gt; value and arguments provided individually.&lt;br&gt;
✔&lt;em&gt;call()&lt;/em&gt; method allows object to use method/function of another object.&lt;br&gt;
✔&lt;em&gt;call()&lt;/em&gt; accepts arguments.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fba4dwkan94mfjx0xm2s1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fba4dwkan94mfjx0xm2s1.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;🔰apply()&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;✔It is similar to &lt;em&gt;call()&lt;/em&gt; method but &lt;em&gt;call()&lt;/em&gt; method takes argument separately whereas in &lt;em&gt;apply()&lt;/em&gt; method arguments are passed as an array.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd1npgqya5lu3o7v11o8x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd1npgqya5lu3o7v11o8x.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;🔰bind()&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;✔It creates a new function and when invoked has the &lt;em&gt;this&lt;/em&gt; keyword set to the provided value.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc55z3rm42ielbc7tlyrb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc55z3rm42ielbc7tlyrb.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
✔In case of &lt;em&gt;call()&lt;/em&gt; &amp;amp; &lt;em&gt;apply() the function is immediately called but in case of _bind()&lt;/em&gt; it does not call in-fact it just return another function which you can call it later.&lt;br&gt;
That's why in above example I've stored the value in a variable &lt;em&gt;fun&lt;/em&gt; and then invoked it.&lt;/p&gt;




</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>career</category>
    </item>
    <item>
      <title>#10) Explain 'this' keyword❔</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Fri, 30 Jul 2021 07:46:13 +0000</pubDate>
      <link>https://dev.to/myk/10-explain-this-keyword-1e3j</link>
      <guid>https://dev.to/myk/10-explain-this-keyword-1e3j</guid>
      <description>&lt;p&gt;🔰&lt;em&gt;this&lt;/em&gt; in JavaScript refers to the object that the function it belongs to and it depends on the object that is invoking the function.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjw18mwuq3lo1831445y7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjw18mwuq3lo1831445y7.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✔In the above example 1, the function is invoked in the global context, &lt;em&gt;the function is a property of global object&lt;/em&gt;.&lt;br&gt;
Hence, the output of the above example will be &lt;strong&gt;global object&lt;/strong&gt;.&lt;br&gt;
But this code is ran inside the browser, so the global object is the &lt;strong&gt;window object&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffuv8go91rk362jaiqc1x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffuv8go91rk362jaiqc1x.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✔In above example 2, &lt;em&gt;id&lt;/em&gt; function is the property of the object &lt;em&gt;person&lt;/em&gt;.&lt;br&gt;
So, the &lt;em&gt;this&lt;/em&gt; keyword will refer to the object &lt;em&gt;person&lt;/em&gt; and will return &lt;strong&gt;Mike&lt;/strong&gt; as output.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffnh04ku2tvj8motviqju.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffnh04ku2tvj8motviqju.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✔In above example 3, the &lt;em&gt;id&lt;/em&gt; function is declared inside the object &lt;em&gt;person&lt;/em&gt; but at the time of invocation, id() is a property of &lt;em&gt;person2&lt;/em&gt;, therefore the &lt;em&gt;this&lt;/em&gt; keyword will refer to &lt;em&gt;person2&lt;/em&gt;.&lt;br&gt;
And it will return &lt;strong&gt;David&lt;/strong&gt; as output.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwg2xo3sh1tomxz7g0pgv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwg2xo3sh1tomxz7g0pgv.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✔In above example 4, &lt;em&gt;this&lt;/em&gt; keyword refers to the object &lt;em&gt;driver&lt;/em&gt; but the &lt;em&gt;driver&lt;/em&gt; does not have the property &lt;em&gt;color&lt;/em&gt;.&lt;br&gt;
Hence, &lt;em&gt;features&lt;/em&gt; function throws an error:- &lt;br&gt;
`Uncaught TypeError: driver.features is not a function'&lt;/p&gt;




</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>career</category>
    </item>
    <item>
      <title>#9) Explain HOF in JavaScript❔</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Tue, 27 Jul 2021 16:03:18 +0000</pubDate>
      <link>https://dev.to/myk/9-explain-hof-in-javascript-29ao</link>
      <guid>https://dev.to/myk/9-explain-hof-in-javascript-29ao</guid>
      <description>&lt;h2&gt;
  
  
  &lt;code&gt;🔰HOF: Higher Order Function&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;✅HOF is a function that that operates on other function, either by accepting functions as arguments and/or returning a function.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Tqnd67gd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7pxxdpskf7wl8g26cjos.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Tqnd67gd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7pxxdpskf7wl8g26cjos.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;⚠&lt;code&gt;For example, Array.prototype.map, Array.prototype.filter and Array.prototype.reduce are some of the Higher-Order functions built into the language.&lt;/code&gt;&lt;/p&gt;




</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>career</category>
    </item>
    <item>
      <title>#8) What is IIFE in JavaScript🐱‍👤</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Tue, 27 Jul 2021 10:12:39 +0000</pubDate>
      <link>https://dev.to/myk/8-what-is-iife-in-javascript-1bng</link>
      <guid>https://dev.to/myk/8-what-is-iife-in-javascript-1bng</guid>
      <description>&lt;p&gt;🔰&lt;code&gt;IIFE: Immediately Invoked Function Expression&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;✔It is a JavaScript Function that runs as an when it is defined.&lt;/p&gt;

&lt;p&gt;Syntax of IIFE👇&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PrganF7u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/khtxpu0ska8xts9y0so8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PrganF7u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/khtxpu0ska8xts9y0so8.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's talk about the two parenthesis in the above syntax.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;( function() {} )&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;💠Outer parenthesis '()'👆&lt;br&gt;
✅While executing JavaScript code, whenever the compiler sees the word &lt;em&gt;function&lt;/em&gt;, it assumes that we are declaring a function in the code. &lt;br&gt;
✅Therefore, if we do not use the first set of parentheses, the compiler throws an error because it thinks we are declaring a function, and by the syntax of declaring a function, a function should always have a name.&lt;/p&gt;

&lt;p&gt;⚠So, instead of getting error, we have to use the first set of parenthesis that tells the compiler that this function is not the function declaration but it's function expression.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;( function() {}) ();&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;💠Right-end side parenthesis '()'👆&lt;br&gt;
✅So, IIFE states that the function should invoke immediately as soon as it is defined.&lt;br&gt;
✅And as we know to run a function we need to invoke it.&lt;br&gt;
✅If we don't invoke it, function declaration is returned.&lt;br&gt;
✅That's why this second parenthesis is just for invoking.&lt;/p&gt;




</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>career</category>
    </item>
    <item>
      <title>#7) Explain pass by value &amp; pass by reference❓</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Tue, 27 Jul 2021 07:01:57 +0000</pubDate>
      <link>https://dev.to/myk/7-explain-pass-by-value-pass-by-reference-3eah</link>
      <guid>https://dev.to/myk/7-explain-pass-by-value-pass-by-reference-3eah</guid>
      <description>&lt;p&gt;🔰In JavaScript, &lt;em&gt;primitive data types&lt;/em&gt; is passed by value and &lt;em&gt;non-primitive data types&lt;/em&gt; is passed by reference.&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀Pass by Value:
&lt;/h2&gt;

&lt;p&gt;-&amp;gt;In pass by value, function is called by directly passing the value of the variable as an argument.&lt;/p&gt;

&lt;p&gt;-&amp;gt;Any change that you make to the argument inside the function does not effect the original value.&lt;/p&gt;

&lt;p&gt;-&amp;gt;Parameters passed as an argument creates it's own copy.&lt;br&gt;
So, any changes inside the function will be on it's copy and not on the original value.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PvIAsmr0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c5gott6w1kib3z9a7fm1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PvIAsmr0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c5gott6w1kib3z9a7fm1.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
Let's see how it works👇&lt;/p&gt;

&lt;p&gt;✅Firstly, define a &lt;em&gt;passByValue&lt;/em&gt; function with an argument 'a'.&lt;/p&gt;

&lt;p&gt;✅Declare and initialize the value of &lt;em&gt;b = 1&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;✅Then, pass the 'b' variable into the function, JavaScript copies the value of 'b' to the 'a' variable.&lt;/p&gt;

&lt;p&gt;✅After that, the &lt;em&gt;passByValue&lt;/em&gt; function changes the 'a' variable. However, this does not impact the original value of 'b'.&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀Pass by Reference:
&lt;/h2&gt;

&lt;p&gt;-&amp;gt;In Pass by Reference, function is called by directly passing the reference/address of the variable as an argument.&lt;/p&gt;

&lt;p&gt;-&amp;gt;On changing the value inside the function also change the original value. &lt;/p&gt;

&lt;p&gt;-&amp;gt;In JavaScript array and Object follows pass by reference property.&lt;/p&gt;

&lt;p&gt;-&amp;gt;In Pass by reference, parameters passed as an arguments does not create its own copy, it refers to the original value so any changes made inside function will directly affect the original value. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HexkztzM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s86noruejsfirlxogyou.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HexkztzM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s86noruejsfirlxogyou.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's see how it works👇&lt;/p&gt;

&lt;p&gt;✅Firstly, define the &lt;em&gt;passByReference()&lt;/em&gt; function that accepts an object person. The function sets the &lt;em&gt;name&lt;/em&gt; property of the object to &lt;em&gt;Maverick&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;✅Next, declare a variable &lt;em&gt;friend&lt;/em&gt; and assign it an object whose &lt;em&gt;name&lt;/em&gt; property is set to &lt;em&gt;Ayush&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;⚠The &lt;em&gt;friend&lt;/em&gt; is a variable that references the actual object:&lt;br&gt;
 &lt;code&gt;let friend = {name: "Ayush",};&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;✅Then, pass the &lt;em&gt;friend&lt;/em&gt; variable into the function.&lt;/p&gt;

&lt;p&gt;✅JavaScript copies the value of the &lt;em&gt;friend&lt;/em&gt; variable to &lt;em&gt;person&lt;/em&gt; variable. &lt;/p&gt;

&lt;p&gt;✅As a result, both &lt;em&gt;friend&lt;/em&gt; and &lt;em&gt;person&lt;/em&gt; variables are referencing the same object in the memory: &lt;code&gt;passByReference(friend);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;✅After that, inside the function, the &lt;em&gt;name&lt;/em&gt; property of the object is set to &lt;em&gt;Maverick&lt;/em&gt; through the &lt;em&gt;person&lt;/em&gt; variable.&lt;/p&gt;

&lt;p&gt;✅Finally, accessing the &lt;em&gt;name&lt;/em&gt; property of the &lt;em&gt;friend&lt;/em&gt; variable returns &lt;em&gt;Maverick&lt;/em&gt;. &lt;/p&gt;




</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>career</category>
    </item>
    <item>
      <title>#6) What is NaN property in JavaScript❓</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Mon, 26 Jul 2021 16:39:20 +0000</pubDate>
      <link>https://dev.to/myk/6-what-is-nan-property-in-javascript-53of</link>
      <guid>https://dev.to/myk/6-what-is-nan-property-in-javascript-53of</guid>
      <description>&lt;h1&gt;
  
  
  🚀&lt;code&gt;NaN : Not a Number&lt;/code&gt;
&lt;/h1&gt;

&lt;p&gt;✔So basically it means that the value should not be a legal number.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--z1d--mTM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kex9njte1rprxkrftrio.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--z1d--mTM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kex9njte1rprxkrftrio.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
💠Some Examples for better understanding👇&lt;/p&gt;

&lt;p&gt;✔For checking if a value is NaN, we use isNaN() function. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--z5Eng6Si--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dolzbjt36324x53pythl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--z5Eng6Si--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dolzbjt36324x53pythl.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;⚠##Note:&lt;/p&gt;

&lt;h3&gt;
  
  
  ✔&lt;code&gt;NaN first converts it into a number type and then compares or equates to NaN&lt;/code&gt;.
&lt;/h3&gt;




</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>career</category>
    </item>
    <item>
      <title>#5) Is JavaScript a statically typed or Dynamically typed language🤔</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Mon, 26 Jul 2021 05:26:06 +0000</pubDate>
      <link>https://dev.to/myk/5-is-javascript-a-statically-typed-or-dynamically-typed-language-232e</link>
      <guid>https://dev.to/myk/5-is-javascript-a-statically-typed-or-dynamically-typed-language-232e</guid>
      <description>&lt;p&gt;&lt;code&gt;Yes, JavaScript is a dynamically typed language.&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀Static Typed Languages
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fww2zyubhl18rxh5yalsb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fww2zyubhl18rxh5yalsb.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the above example,👆 &lt;br&gt;
We declare a variable &lt;em&gt;name&lt;/em&gt; of string type by adding a prefix 'String' means it's value will always be of a string type.&lt;/p&gt;

&lt;p&gt;But as we are going to re-assign the value of the variable &lt;em&gt;name&lt;/em&gt; to some other data type which was earlier &lt;em&gt;string&lt;/em&gt;, it will throw an error message and this only happens in statically typed language like &lt;em&gt;TypeScript&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀Dynamic Typed Language
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwj7aqk3yhqnjckdfc0yk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwj7aqk3yhqnjckdfc0yk.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the above example,👆&lt;br&gt;
We assign a value to the variable 'x' without defining it's type.&lt;br&gt;
So, the type of the variable is set dynamically depending on the value that we assigned to the variable.&lt;/p&gt;

&lt;p&gt;In the next step, we re-assigned the value of the variable 'x' to a number type. &lt;br&gt;
So, there will be no error because the type of the variable is set dynamically during code execution.&lt;/p&gt;




&lt;p&gt;✔JavaScript is a dynamically typed language so you are free to re-assign value of any type by using either &lt;em&gt;let&lt;/em&gt; or &lt;em&gt;var&lt;/em&gt;.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd4t1nefq9qa4ql8rolcn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd4t1nefq9qa4ql8rolcn.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Note:
&lt;/h3&gt;

&lt;p&gt;✅It's totally the developers responsibility to take care of the variables type and on a safer side use &lt;em&gt;const&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;✅In dynamically typed language, the type of a variable is checked during &lt;strong&gt;run-time&lt;/strong&gt; whereas... &lt;br&gt;
In statically typed language, the type of a variable is checked during &lt;strong&gt;compile-time&lt;/strong&gt;.&lt;/p&gt;




</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>career</category>
    </item>
    <item>
      <title>#4) Explain Implicit Type Coercion in JavaScript❔</title>
      <dc:creator>Mayank Yadav</dc:creator>
      <pubDate>Sun, 25 Jul 2021 09:43:07 +0000</pubDate>
      <link>https://dev.to/myk/4-explain-implicit-type-coercion-in-javascript-3kaj</link>
      <guid>https://dev.to/myk/4-explain-implicit-type-coercion-in-javascript-3kaj</guid>
      <description>&lt;p&gt;💠The process of automatic or implicit conversion of values from one data type to another.&lt;/p&gt;

&lt;p&gt;💠It takes place when the operands of an expression are of different data types.&lt;/p&gt;

&lt;h2&gt;
  
  
  String Coercion
&lt;/h2&gt;

&lt;p&gt;✅It occurs when ' +, -, /, * ' operator is used.&lt;/p&gt;

&lt;p&gt;✅When a number is added to a string, the number type is always converted into string type.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwq4ycqxv60gnzc23jvv8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwq4ycqxv60gnzc23jvv8.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✅When a number is divided, subtracted or multiplied to a string, the string is always converted into number type.👇&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbmeyz2hu8m85gaf35fd4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbmeyz2hu8m85gaf35fd4.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Boolean Coercion
&lt;/h2&gt;

&lt;p&gt;✅When a Boolean is added to a Number, the Boolean value is converted to a number.&lt;/p&gt;

&lt;p&gt;✅A Boolean value can be represented as 0 for &lt;em&gt;false&lt;/em&gt; or 1 for &lt;em&gt;true&lt;/em&gt;.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8jto4c0ewqgyfhy1gx6c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8jto4c0ewqgyfhy1gx6c.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
⚠All values except &lt;em&gt;0, 0n, -0, "", undefined, null, NaN&lt;/em&gt; are truthy values.&lt;/p&gt;

&lt;h2&gt;
  
  
  Equality Coercion
&lt;/h2&gt;

&lt;p&gt;✅The '==' operator compares values but not types.&lt;/p&gt;

&lt;p&gt;✅Returns &lt;em&gt;true&lt;/em&gt; because both 'a' and 'b' are converted to the same type and then compared. Hence the operands are equal.👇&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe9uxj5cinzzk6p00e8lc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe9uxj5cinzzk6p00e8lc.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
✅Returns &lt;em&gt;false&lt;/em&gt; as string 'true' is coerced to NaN which is not equal to 1 or true in Boolean, so returns false.👆&lt;/p&gt;




</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>career</category>
    </item>
  </channel>
</rss>
