<?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: Shyam Mohan Kunwar</title>
    <description>The latest articles on DEV Community by Shyam Mohan Kunwar (@oshyam).</description>
    <link>https://dev.to/oshyam</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%2F403359%2F78d58a2e-cadf-4e9b-bffd-184a20dc1c31.jpeg</url>
      <title>DEV Community: Shyam Mohan Kunwar</title>
      <link>https://dev.to/oshyam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/oshyam"/>
    <language>en</language>
    <item>
      <title>Asynchronous in JavaScript</title>
      <dc:creator>Shyam Mohan Kunwar</dc:creator>
      <pubDate>Sun, 11 Sep 2022 17:16:38 +0000</pubDate>
      <link>https://dev.to/oshyam/asynchronous-in-javascript-c86</link>
      <guid>https://dev.to/oshyam/asynchronous-in-javascript-c86</guid>
      <description>&lt;p&gt;Asynchronous Programming in javascript is simply done with callbacks.&lt;/p&gt;

&lt;p&gt;Callbacks are functions that called inside the other function.&lt;/p&gt;

&lt;p&gt;Asynchronous programming uses multiple tasks running in parallel with no delay between them. This makes any application faster because waiting on UI events stops its performance from dropping&lt;/p&gt;

&lt;p&gt;3 Things to know in Asynchronous in Javascript:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Promises (new in ES6)&lt;/li&gt;
&lt;li&gt;Async Await which was introduced in 2017&lt;/li&gt;
&lt;li&gt;For /await loop added in 2018&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read More : &lt;a href="https://tronlab.in/asynchronous-in-javascript/"&gt;Asynchronous in JavaScript with Examples&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>node</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Trim in JavaScript</title>
      <dc:creator>Shyam Mohan Kunwar</dc:creator>
      <pubDate>Tue, 28 Dec 2021 07:22:12 +0000</pubDate>
      <link>https://dev.to/oshyam/trim-in-javascript-5gjc</link>
      <guid>https://dev.to/oshyam/trim-in-javascript-5gjc</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zqaOL7AU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rolr7o1j5giu2l41z08z.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zqaOL7AU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rolr7o1j5giu2l41z08z.jpg" alt="trim method in javascript " width="880" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want to remove the extra space in your string data type, here is a simple way to do it in JavaScript.&lt;/p&gt;

&lt;p&gt;Programming in JavaScript is easy once you know the language's in and out.&lt;/p&gt;

&lt;p&gt;JavaScript offer String.trim() method.&lt;/p&gt;

&lt;p&gt;trim() method removes the removes all whitespace from both ends of a string,&lt;br&gt;
including tabs, spaces, no-break spaces, and line terminator characters.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example of Trim() method in JS:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;const extraSpaceString = ' Hi This is shyam from cyberncode.com, Please visit cyberncode.com for more awesome blogs. ';&lt;br&gt;
const trimString = extraSpaceString.trim();&lt;br&gt;
console.log(trimString);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Output: &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--utCcpBMu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k1umhcm6qr8d325f65g0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--utCcpBMu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k1umhcm6qr8d325f65g0.png" alt="trim in javascript output" width="880" height="97"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also Read: &lt;a href="https://cyberncode.com/how-to-make-your-own-notepad-using-html-textarea/"&gt;Make your own notepad app with different features in a minute using pure HTML&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>Wrapping Up 2020 With These Tips</title>
      <dc:creator>Shyam Mohan Kunwar</dc:creator>
      <pubDate>Thu, 31 Dec 2020 18:28:13 +0000</pubDate>
      <link>https://dev.to/oshyam/wrap-up-2020-with-these-tips-13me</link>
      <guid>https://dev.to/oshyam/wrap-up-2020-with-these-tips-13me</guid>
      <description>&lt;p&gt;2020 is about to end, and as the nature of law suggests every ending comes with a new beginning..!&lt;/p&gt;

&lt;p&gt;2021 is about to start in less than an hour.&lt;/p&gt;

&lt;p&gt;Most of the people already started to do parties (following COVID-19 Norms), waiting for the exact moment to send wishes to their loved ones, etc.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--76TNnyvJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/1ra6q4sqwjc9qo4ot6bt.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--76TNnyvJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/1ra6q4sqwjc9qo4ot6bt.jpg" alt="Wish" width="640" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is my first blog post and it is related to you, us, and each individual working so hard to create or contribute to a better future, this is not much technical but reading this will definitely change perspective.&lt;/p&gt;

&lt;p&gt;I just want to say a big thank you for the awesome people and developer community out here, it feels like I'm writing to my family.&lt;/p&gt;

&lt;p&gt;This is my small wish and message to all of you amazing people.&lt;/p&gt;

&lt;p&gt;Back to the pre-COVID era where Industries, Companies, and the whole world was running very smoothly but one microscopic virus changes the whole system.&lt;/p&gt;

&lt;p&gt;The whole world is affected by COVID-19, Many of us lost our loved ones, families faces financial crisis, and so on so forth.&lt;/p&gt;

&lt;p&gt;But apart from these, we are still alive and breathing right now, that is the most precious gift we should appreciate and thank god.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--n5DSEGRA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/8k4pljqvrqmg61ji6uep.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--n5DSEGRA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/8k4pljqvrqmg61ji6uep.jpg" alt="Child" width="640" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  If we look a bit at 2020, The year itself teaches us a lot:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;It teaches us to love ourselves and our family i.e nothing is permanent. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Just think about the child who lost his mom and he can't do anything or the father who lost his child in this pandemic, There are so many stories like that.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Aim is to take out time and hang out with family and friends, whoever you think he/she should be.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;we don't have much time, our time is limited, invest in a good way for a good cause.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Admire yourself&lt;br&gt;
You are a good person, you help others and you got help in unexpected ways.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Keep Yourself Fit and Healthy&lt;br&gt;
As the year comes to end and the new year arrives, Most of us will make resolutions, but please don't just make resolutions keep them in work-life too.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to go to the gym just do that, if not,Do at home, and make yourself fit.&lt;/p&gt;

&lt;p&gt;The goal is to make yourself fit from body and mind in every possible aspect.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Healing  is essential&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Wrapping Up
&lt;/h1&gt;

&lt;p&gt;In the end, I just want to say that&lt;/p&gt;

&lt;p&gt;Dear 2020, Thank you for the year which taught us so many things..!&lt;/p&gt;

&lt;p&gt;You've taught us the goal, the goal is not to be rich nor to be famous but it is to be happy 😊  and live in the present and enjoy every bit of it.&lt;/p&gt;

&lt;p&gt;The goal is to spend time with family and make them happy and care for each other..! &lt;/p&gt;

&lt;p&gt;Thank you for reminding us that we've to care and love mother earth 🌎, &lt;br&gt;
2020 isn't the year to hate but the year to learn and appreciate the value of life.. ❤️🙌&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>devlife</category>
      <category>yearinreview</category>
      <category>devcommunity</category>
    </item>
  </channel>
</rss>
