<?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: Seyed Hamid Mirghafouri</title>
    <description>The latest articles on DEV Community by Seyed Hamid Mirghafouri (@hamidtips).</description>
    <link>https://dev.to/hamidtips</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1000362%2F35366a7f-84e2-4e10-9b6e-7b77883b2897.jpeg</url>
      <title>DEV Community: Seyed Hamid Mirghafouri</title>
      <link>https://dev.to/hamidtips</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hamidtips"/>
    <language>en</language>
    <item>
      <title>JavaScript || (Logical OR) vs ?? (Nullish Coalescing)</title>
      <dc:creator>Seyed Hamid Mirghafouri</dc:creator>
      <pubDate>Thu, 23 Mar 2023 02:56:38 +0000</pubDate>
      <link>https://dev.to/hamidtips/javascript-vs--26o7</link>
      <guid>https://dev.to/hamidtips/javascript-vs--26o7</guid>
      <description>&lt;p&gt;?? is falsy if the variable is null or undefined&lt;br&gt;
|| is falsy if the variable is empty, zero, false, null or undefined&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(120 || "falsy") // 120
console.log(0  || "falsy") // "falsy"

console.log("truly" || "falsy") // "truly"
console.log(""     || "falsy") // "falsy"

console.log(true  || "falsy") // true
console.log(false || "falsy") // "falsy"

console.log(undefined || "falsy") // "falsy"
console.log(null      || "falsy") // "falsy"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(120 ?? "falsy") // 120
console.log(0  ?? "falsy") // 0

console.log("truly" ?? "falsy") // "truly"
console.log(""     ?? "falsy") // ""

console.log(true  ?? "falsy") // true
console.log(false ?? "falsy") // false

console.log(undefined ?? "falsy") // "falsy"
console.log(null      ?? "falsy") // "falsy"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
    </item>
    <item>
      <title>"[eslint] Delete `CR` [prettier/prettier]"</title>
      <dc:creator>Seyed Hamid Mirghafouri</dc:creator>
      <pubDate>Sun, 12 Mar 2023 05:33:22 +0000</pubDate>
      <link>https://dev.to/hamidtips/eslint-delete-cr-prettierprettier-57j</link>
      <guid>https://dev.to/hamidtips/eslint-delete-cr-prettierprettier-57j</guid>
      <description>&lt;p&gt;If you are getting the error, an easy solution is to add an exception to your .&lt;strong&gt;eslintrc.js&lt;/strong&gt; under object &lt;strong&gt;"rules"&lt;/strong&gt; as following"&lt;br&gt;
&lt;code&gt;'prettier/prettier' : ['error', {&lt;br&gt;
      'endOfLine': 'auto'&lt;br&gt;
    }]&lt;/code&gt;&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>typescript</category>
      <category>prettier</category>
      <category>window</category>
    </item>
    <item>
      <title>Cool Chrome JSON Extension</title>
      <dc:creator>Seyed Hamid Mirghafouri</dc:creator>
      <pubDate>Sun, 12 Mar 2023 04:45:24 +0000</pubDate>
      <link>https://dev.to/hamidtips/cool-chrome-extension-c8h</link>
      <guid>https://dev.to/hamidtips/cool-chrome-extension-c8h</guid>
      <description>&lt;p&gt;I just found this cool extension:&lt;br&gt;
JSON Formatter&lt;/p&gt;

&lt;p&gt;&lt;a href="https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa/related?hl=en"&gt;https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa/related?hl=en&lt;/a&gt;&lt;/p&gt;

</description>
      <category>chrome</category>
      <category>extension</category>
      <category>json</category>
    </item>
  </channel>
</rss>
