<?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: Tejkumar Kempaiah</title>
    <description>The latest articles on DEV Community by Tejkumar Kempaiah (@tejkumar).</description>
    <link>https://dev.to/tejkumar</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%2F641636%2F3d5fa58f-f4f8-422e-aad8-326d9661a5ec.jpeg</url>
      <title>DEV Community: Tejkumar Kempaiah</title>
      <link>https://dev.to/tejkumar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tejkumar"/>
    <language>en</language>
    <item>
      <title>🔥 JavaScript Alerts in Cypress</title>
      <dc:creator>Tejkumar Kempaiah</dc:creator>
      <pubDate>Thu, 19 Aug 2021 08:51:55 +0000</pubDate>
      <link>https://dev.to/tejkumar/javascript-alerts-in-cypress-3ji6</link>
      <guid>https://dev.to/tejkumar/javascript-alerts-in-cypress-3ji6</guid>
      <description>&lt;p&gt;Alerts are pop up's that appear on the browser window based on a specific user action which is "Click" &lt;/p&gt;

&lt;p&gt;There are 3 types of alerts. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Simple alerts with alert text, Ok button&lt;/li&gt;
&lt;li&gt;Confirm alerts with alert text, Ok &amp;amp; Cancel button&lt;/li&gt;
&lt;li&gt;Prompt alerts with alert text box, Ok &amp;amp; Cancel button&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;The way cypress are handled in cypress aren't the same way just like in case of Selenium. &lt;/p&gt;

&lt;p&gt;In Selenium, Where there is a pop up alert on the screen. &lt;br&gt;
The user should navigate to the alert pop to perform action. &lt;/p&gt;

&lt;p&gt;But, In cypress simple alerts are handled by default as its one of the in-built capabilities of Cypress. &lt;/p&gt;

&lt;p&gt;Cypress for now directly supports simple and confirm alerts. &lt;br&gt;
Where as for prompt based alerts, One must use cy.window() with a then call back function along with a stub to handle it. &lt;/p&gt;

&lt;p&gt;Example: &lt;/p&gt;

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

</description>
      <category>alerts</category>
    </item>
    <item>
      <title>🔥 JavaScript Objects </title>
      <dc:creator>Tejkumar Kempaiah</dc:creator>
      <pubDate>Tue, 03 Aug 2021 04:07:26 +0000</pubDate>
      <link>https://dev.to/tejkumar/javascript-objects-38oo</link>
      <guid>https://dev.to/tejkumar/javascript-objects-38oo</guid>
      <description>&lt;p&gt;Objects are blueprint of class. &lt;br&gt;
And object has states &amp;amp; behavior associated to it. &lt;/p&gt;

&lt;p&gt;Object properties are declared in the form of key-value pairs, Where keys are always 'String' in nature and value can be of any supported datatype from JS(ES5, ES6). &lt;/p&gt;

&lt;p&gt;Ex: &lt;/p&gt;

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

&lt;p&gt;How to create empty object ? &lt;/p&gt;

&lt;p&gt;Ex: {}&lt;/p&gt;

&lt;p&gt;How to create an non-empty object ? &lt;/p&gt;

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

&lt;p&gt;How make an object Immutable?&lt;/p&gt;

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

</description>
    </item>
    <item>
      <title>🔥 Datatypes in JavaScript</title>
      <dc:creator>Tejkumar Kempaiah</dc:creator>
      <pubDate>Fri, 11 Jun 2021 02:57:06 +0000</pubDate>
      <link>https://dev.to/tejkumar/datatypes-in-javascript-30pp</link>
      <guid>https://dev.to/tejkumar/datatypes-in-javascript-30pp</guid>
      <description>&lt;p&gt;☑️ What are Datatypes ? &lt;/p&gt;

&lt;p&gt;It defines the category for data which will be stored in a variable &lt;/p&gt;

&lt;p&gt;☑️ Types of Datatypes ? &lt;/p&gt;

&lt;p&gt;a. Primitive&lt;br&gt;
b. Object/Reference&lt;/p&gt;

&lt;p&gt;☑️ Primitive Datatypes ?&lt;/p&gt;

&lt;p&gt;The datatypes which hold only single value at a time is called Primitive Datatype&lt;/p&gt;

&lt;p&gt;Example: number, Boolean, character, String, null, undefined&lt;/p&gt;

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

&lt;p&gt;☑️ Object/Reference Datatypes ?&lt;/p&gt;

&lt;p&gt;The non-primitive datatypes are called object based/reference data types&lt;/p&gt;

&lt;p&gt;Ex: Arrays, Objects itself. &lt;/p&gt;

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

</description>
      <category>javascript</category>
      <category>datatypes</category>
    </item>
    <item>
      <title>🔥 Objects in JavaScript </title>
      <dc:creator>Tejkumar Kempaiah</dc:creator>
      <pubDate>Thu, 10 Jun 2021 15:03:26 +0000</pubDate>
      <link>https://dev.to/tejkumar/objects-in-javascript-1jdp</link>
      <guid>https://dev.to/tejkumar/objects-in-javascript-1jdp</guid>
      <description>&lt;p&gt;☑️ What are Objects? &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Objects are collection of property and property values&lt;/li&gt;
&lt;li&gt;Every object has state and behavior&lt;/li&gt;
&lt;li&gt;A real time object is mimicked in the programming world&lt;/li&gt;
&lt;li&gt;A object can contain below things in it. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;a. variable(integer, decimal, Boolean, character, string)&lt;br&gt;
   b. array &lt;br&gt;
   c. function&lt;br&gt;
   d. another object &lt;/p&gt;

&lt;p&gt;☑️ How to create objects in JavaScript? &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%2Fxrlxbzq4v1wkpimiwk62.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%2Fxrlxbzq4v1wkpimiwk62.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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%2Ffjy78fs7xw4h6vk57xve.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%2Ffjy78fs7xw4h6vk57xve.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;☑️ How to make an object read only? &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%2F0v8min6r8l6cj85ni3ew.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%2F0v8min6r8l6cj85ni3ew.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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%2F14fxut7sxq1z06grlrf7.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%2F14fxut7sxq1z06grlrf7.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;☑️ How to make an object extensible(un expandable) but modifiable&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%2Ffg3byzzd8dzc86lxrzh8.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%2Ffg3byzzd8dzc86lxrzh8.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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%2Fs1ewasqnnow8bnc6j3rr.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%2Fs1ewasqnnow8bnc6j3rr.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;☑️ How to expand an object property ? &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%2F6ml8dcuzcdigud9nooqy.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%2F6ml8dcuzcdigud9nooqy.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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%2F99dy12c2hljf6nrqxv39.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%2F99dy12c2hljf6nrqxv39.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;☑️ How to add an Boolean object property to an Object?&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%2Fdb0ns64q5jrdyom7jq55.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%2Fdb0ns64q5jrdyom7jq55.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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%2Fzmzceemq6ymc9n61mzen.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%2Fzmzceemq6ymc9n61mzen.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;☑️ Object DE structuring&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%2Fb2lgmiccurgsl7yodm89.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%2Fb2lgmiccurgsl7yodm89.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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%2F0odngiif6qldqnc5iseb.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%2F0odngiif6qldqnc5iseb.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>objectsinjavscript</category>
    </item>
    <item>
      <title>🔥 Function Call in JavaScript- Part 2</title>
      <dc:creator>Tejkumar Kempaiah</dc:creator>
      <pubDate>Sat, 05 Jun 2021 17:29:28 +0000</pubDate>
      <link>https://dev.to/tejkumar/function-call-part-2-21i0</link>
      <guid>https://dev.to/tejkumar/function-call-part-2-21i0</guid>
      <description>&lt;p&gt;In the previous section we have learnt about introduction to function and function calls with and without returning values. &lt;/p&gt;

&lt;p&gt;In this blog, We will learn about function returning &lt;/p&gt;

&lt;p&gt;☑️ Arrays&lt;br&gt;
☑️ Objects&lt;br&gt;
☑️ Functions&lt;/p&gt;

&lt;p&gt;☑️Functions returning arrays: &lt;/p&gt;

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

&lt;p&gt;Output: &lt;/p&gt;

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

&lt;p&gt;☑️Functions returning objects: &lt;/p&gt;

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

&lt;p&gt;Output: &lt;/p&gt;

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

&lt;p&gt;☑️Functions returning functions: &lt;/p&gt;

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

&lt;p&gt;Output: &lt;/p&gt;

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

</description>
      <category>javascript</category>
    </item>
    <item>
      <title>🔥 Function Call in JavaScript - Part 1</title>
      <dc:creator>Tejkumar Kempaiah</dc:creator>
      <pubDate>Fri, 04 Jun 2021 06:07:51 +0000</pubDate>
      <link>https://dev.to/tejkumar/function-call-part-1-4e77</link>
      <guid>https://dev.to/tejkumar/function-call-part-1-4e77</guid>
      <description>&lt;p&gt;A call to execute the statement which are present inside and method is called function call/function invoke. &lt;/p&gt;

&lt;p&gt;Ex: Below example has a function expression by name greet() which accepts the parameters "name". greet("Tej") is the method call to execute all those statement which are in between { } which is called as function scope. &lt;/p&gt;

&lt;p&gt;☑️ Part 1: &lt;/p&gt;

&lt;p&gt;Part one takes about the function returning variables(char, string, number, boolean as the return data type&lt;/p&gt;

&lt;p&gt;There are several types of function calls as mentioned below. &lt;/p&gt;

&lt;p&gt;☑️1. The called function returning value&lt;/p&gt;

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

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

&lt;p&gt;☑️2. The called function not returning value&lt;/p&gt;

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

&lt;p&gt;Output: &lt;/p&gt;

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

&lt;p&gt;☑️3. The called function returning variable as value&lt;/p&gt;

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

&lt;p&gt;Output: &lt;/p&gt;

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

&lt;p&gt;☑️☑️☑️ More Examples:  &lt;/p&gt;

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

&lt;p&gt;Output: Try it out&lt;/p&gt;

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

&lt;p&gt;Output: Try it out&lt;/p&gt;

&lt;p&gt;☑️Note: Part 1 consists of #1, #2 and #3 from the above examples. &lt;/p&gt;

</description>
      <category>javascript</category>
    </item>
    <item>
      <title>🔥 Call back functions in JavaScript</title>
      <dc:creator>Tejkumar Kempaiah</dc:creator>
      <pubDate>Thu, 03 Jun 2021 02:58:01 +0000</pubDate>
      <link>https://dev.to/tejkumar/call-back-functions-3gbf</link>
      <guid>https://dev.to/tejkumar/call-back-functions-3gbf</guid>
      <description>&lt;p&gt;📌 Definition:&lt;/p&gt;

&lt;p&gt;Call back functions are those which are passed as an argument for a parameterized function.&lt;/p&gt;

&lt;p&gt;✨ Ex: &lt;/p&gt;

&lt;p&gt;Lets say you have 3 tasks which needs to be done one after the another. As JavaScript is asynchronous in nature you will not have the control on the execution of the .js programs. &lt;/p&gt;

&lt;p&gt;So to achieve it, You need to control each actions(ie, functions which perform some actions on the GUI). &lt;/p&gt;

&lt;p&gt;Here there are 2 tasks which needs to be executed one after the another: &lt;/p&gt;

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

&lt;p&gt;Output: &lt;/p&gt;

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

&lt;p&gt;Now, Set a timeout for one function and then execute the program and observe the actual results. &lt;/p&gt;

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

&lt;p&gt;Output:&lt;/p&gt;

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

&lt;p&gt;Hence, If the expectation is to execute a function before another, Ensure to call it inside a function which is referred as "Call back" function&lt;/p&gt;

</description>
      <category>javascript</category>
    </item>
    <item>
      <title>🔥 Parameters v/s Arguments in JavaScript</title>
      <dc:creator>Tejkumar Kempaiah</dc:creator>
      <pubDate>Wed, 02 Jun 2021 04:34:26 +0000</pubDate>
      <link>https://dev.to/tejkumar/parameters-arguments-in-javascript-1lng</link>
      <guid>https://dev.to/tejkumar/parameters-arguments-in-javascript-1lng</guid>
      <description>&lt;p&gt;Are both same or different? &lt;/p&gt;

&lt;p&gt;📌 Parameters: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;They are integral part of a function&lt;/li&gt;
&lt;li&gt;Parameters are values which a function expects when its being invoked.&lt;/li&gt;
&lt;li&gt;A function could accept parameter in the form of a variable, array, object and another function which is referred as callback functions &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Example: &lt;/p&gt;

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

&lt;p&gt;📌 Arguments: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;They are integral part of a function at the runtime&lt;/li&gt;
&lt;li&gt;Parameters are values which are passed to a function at the runtime. &lt;/li&gt;
&lt;li&gt;If no arguments are passed to a function in JS, By default it takes undefined arguments. &lt;/li&gt;
&lt;/ol&gt;

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

</description>
      <category>javascript</category>
    </item>
    <item>
      <title>🔥 Naming conventions of JavaScript Functions</title>
      <dc:creator>Tejkumar Kempaiah</dc:creator>
      <pubDate>Tue, 01 Jun 2021 17:14:21 +0000</pubDate>
      <link>https://dev.to/tejkumar/naming-conventions-of-javascript-functions-28b0</link>
      <guid>https://dev.to/tejkumar/naming-conventions-of-javascript-functions-28b0</guid>
      <description>&lt;p&gt;☑️Function names should start with a character&lt;br&gt;
☑️Function names should be a verb/actions&lt;br&gt;
        Ex: getUser(), listUsers(), totalCars(), calculateArea()&lt;br&gt;
☑️Just like in Java, functions are methods which ends with () and starts with smallCase and follow camelCasing&lt;br&gt;
☑️A function can be declared in 2 ways. &lt;br&gt;
    ☑️. Function expression&lt;br&gt;
    ☑️. Function declaration&lt;br&gt;
☑️Function can accept arugments like variables, objects, arrays and another function. &lt;br&gt;
    Note: Function accepting another function ---&amp;gt; This concept is called call back function in Javascript&lt;br&gt;
☑️. A function can return or not return any type(data)&lt;br&gt;
☑️. typeof keyword is used to find the recieved data type for a function&lt;br&gt;
☑️. Function invoking with in same JS files&lt;br&gt;
☑️. Function invoking within different JS files&lt;br&gt;
☑️. One function should perform one task and the name of the function should be the purpose of that function&lt;br&gt;
☑️. Functions are created with an intension of code re-usability&lt;/p&gt;

</description>
      <category>javascript</category>
    </item>
    <item>
      <title>🔥 Happy path vs. Unhappy path</title>
      <dc:creator>Tejkumar Kempaiah</dc:creator>
      <pubDate>Tue, 01 Jun 2021 15:00:06 +0000</pubDate>
      <link>https://dev.to/tejkumar/happy-path-vs-unhappy-path-193c</link>
      <guid>https://dev.to/tejkumar/happy-path-vs-unhappy-path-193c</guid>
      <description>&lt;p&gt;🛠️ During product design and development: &lt;/p&gt;

&lt;p&gt;Stakeholders focus on intended user behavior. Product owners describe this happy path with business requirements. Engineers push code to enable users to do these things. A user who demonstrates this expected behavior follows the happy path.&lt;/p&gt;

&lt;p&gt;🧐 These are examples of happy paths: &lt;/p&gt;

&lt;p&gt;User creates a new account&lt;br&gt;
User signs in with their new credentials&lt;br&gt;
User retrieves information about their account&lt;br&gt;
But what happens when there’s unintended behavior, like when a user submits invalid inputs? These unhappy path scenarios are often neglected in design and development. But with enough traffic, unexpected inputs will inevitably come from both well-intentioned and malicious users.&lt;/p&gt;

&lt;p&gt;🧐 Examples of unhappy paths:&lt;/p&gt;

&lt;p&gt;User creates a new account without providing all required inputs&lt;br&gt;
User signs in with invalid credentials&lt;br&gt;
User pastes a SQL query that gets executed (maliciously or unintentionally)&lt;/p&gt;

&lt;p&gt;💻 Conclusion: &lt;/p&gt;

&lt;p&gt;A strong test plan covers both happy and unhappy paths. Positive test cases describe happy path scenarios, where errors result in failed tests. Negative test cases describe unhappy path scenarios, where expected errors result in passed tests.&lt;/p&gt;

</description>
      <category>agile</category>
      <category>test</category>
    </item>
  </channel>
</rss>
