<?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: wimet</title>
    <description>The latest articles on DEV Community by wimet (@wimet13740).</description>
    <link>https://dev.to/wimet13740</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%2F3268101%2Fd33ed48d-034d-46ac-857f-5d323004e5e9.png</url>
      <title>DEV Community: wimet</title>
      <link>https://dev.to/wimet13740</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wimet13740"/>
    <language>en</language>
    <item>
      <title>🔥 Master JavaScript’s map(), filter(), and reduce() Methods (with Code Examples)</title>
      <dc:creator>wimet</dc:creator>
      <pubDate>Wed, 18 Jun 2025 09:04:20 +0000</pubDate>
      <link>https://dev.to/wimet13740/master-javascripts-map-filter-and-reduce-methods-with-code-examples-26gj</link>
      <guid>https://dev.to/wimet13740/master-javascripts-map-filter-and-reduce-methods-with-code-examples-26gj</guid>
      <description>&lt;p&gt;👋 Hey Devs!&lt;br&gt;
If you're learning JavaScript, chances are you've come across the trio: map(), filter(), and reduce().&lt;/p&gt;

&lt;p&gt;These array methods are powerful but can be confusing at first. In this post, I’ll break them down with clean examples you can use in your own code.&lt;/p&gt;

&lt;p&gt;🚀 1. map() – Transform Data&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const prices = [10, 20, 30];
const taxIncluded = prices.map(price =&amp;gt; price * 1.18);
console.log(taxIncluded); // [11.8, 23.6, 35.4]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📌 Use it when you need to convert or modify array items.&lt;/p&gt;

&lt;p&gt;🔍 2. filter() – Keep What You Need&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const scores = [45, 67, 89, 34];
const passing = scores.filter(score =&amp;gt; score &amp;gt;= 60);
console.log(passing); // [67, 89]

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

&lt;/div&gt;



&lt;p&gt;📌 Use it when you want to exclude some data.&lt;/p&gt;

&lt;p&gt;🧮 3. reduce() – Crunch Everything&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const cart = [100, 200, 50];
const total = cart.reduce((acc, curr) =&amp;gt; acc + curr, 0);
console.log(total); // 350

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

&lt;/div&gt;



&lt;p&gt;📌 Use it to sum, count, or combine data.&lt;/p&gt;

&lt;p&gt;💡 Summary&lt;br&gt;
These three methods are essential for writing clean, functional JavaScript. And once you get comfortable with them, you'll reach for them in almost every project.&lt;/p&gt;

&lt;p&gt;📖 Check out my full article with visual explanation and code breakdown:&lt;br&gt;
👉 &lt;a href="https://webcodingwithankur.blogspot.com/2025/06/javascript-map-filter-reduce-explained.html" rel="noopener noreferrer"&gt;https://webcodingwithankur.blogspot.com/2025/06/javascript-map-filter-reduce-explained.html&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>What is Debounce in JavaScript? (Explained Simply)</title>
      <dc:creator>wimet</dc:creator>
      <pubDate>Mon, 16 Jun 2025 07:58:24 +0000</pubDate>
      <link>https://dev.to/wimet13740/what-is-debounce-in-javascript-explained-simply-4a9a</link>
      <guid>https://dev.to/wimet13740/what-is-debounce-in-javascript-explained-simply-4a9a</guid>
      <description>&lt;p&gt;In modern frontend development, performance plays a crucial role — especially when dealing with events like &lt;code&gt;scroll&lt;/code&gt;, &lt;code&gt;resize&lt;/code&gt;, or &lt;code&gt;keyup&lt;/code&gt;. This is where &lt;strong&gt;debouncing&lt;/strong&gt; in JavaScript becomes essential.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Debounce&lt;/strong&gt; is a technique that limits how often a function is executed. Instead of triggering a function repeatedly during a rapid event (like typing in a search bar), the function is delayed and executed &lt;strong&gt;only after the event has stopped firing for a defined time&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Imagine a user typing in a search field. Without debounce, each keystroke could trigger a network request — flooding the server and slowing down the UI. With debounce, the function waits until the user &lt;strong&gt;pauses typing&lt;/strong&gt;, then sends one clean request.&lt;/p&gt;

&lt;p&gt;This technique helps in reducing API calls, improving UI responsiveness, and making your code more efficient.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Read the full article with code samples and live examples on my blog:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
➡️ &lt;a href="https://webcodingwithankur.blogspot.com/2025/06/javascript-debounce-made-simple-live.html" rel="noopener noreferrer"&gt;https://webcodingwithankur.blogspot.com/2025/06/javascript-debounce-made-simple-live.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let me know your thoughts and how you’ve used debounce in your own projects! 💬&lt;/p&gt;

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