<?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: zhou-yg</title>
    <description>The latest articles on DEV Community by zhou-yg (@zhouyg).</description>
    <link>https://dev.to/zhouyg</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%2F901944%2F81855a93-3e1a-450d-ae2a-99707d9aa8a8.jpeg</url>
      <title>DEV Community: zhou-yg</title>
      <link>https://dev.to/zhouyg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zhouyg"/>
    <language>en</language>
    <item>
      <title>What will happened when writing switch case with "break" in a for loop</title>
      <dc:creator>zhou-yg</dc:creator>
      <pubDate>Wed, 14 Sep 2022 13:36:37 +0000</pubDate>
      <link>https://dev.to/zhouyg/what-happened-when-writing-switch-case-with-break-in-a-for-loop-3c1m</link>
      <guid>https://dev.to/zhouyg/what-happened-when-writing-switch-case-with-break-in-a-for-loop-3c1m</guid>
      <description>&lt;p&gt;demonstration code:&lt;br&gt;
&lt;code&gt;javascript&lt;br&gt;
const arr = [1,2,3];&lt;br&gt;
for (const n of arr) {&lt;br&gt;
  switch (n) {&lt;br&gt;
    case 1: console.log(n); break;&lt;br&gt;
    default: console.log(n); break;&lt;br&gt;
  }&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Amazing! the "break" keyword won't break the for loop&lt;/p&gt;

</description>
    </item>
    <item>
      <title>hello dev</title>
      <dc:creator>zhou-yg</dc:creator>
      <pubDate>Tue, 02 Aug 2022 08:30:29 +0000</pubDate>
      <link>https://dev.to/zhouyg/hello-dev-1659</link>
      <guid>https://dev.to/zhouyg/hello-dev-1659</guid>
      <description>&lt;p&gt;hello dev again&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
