<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>sky_j00n.log</title>
        <link>https://velog.io/</link>
        <description>Rehabilitation Engineering Researcher</description>
        <lastBuildDate>Mon, 25 Jul 2022 01:12:15 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <image>
            <title>sky_j00n.log</title>
            <url>https://velog.velcdn.com/images/sky_j00n/profile/8bcaabe3-ac42-47c6-8414-5a1f6261ec47/social_profile.png</url>
            <link>https://velog.io/</link>
        </image>
        <copyright>Copyright (C) 2019. sky_j00n.log. All rights reserved.</copyright>
        <atom:link href="https://v2.velog.io/rss/sky_j00n" rel="self" type="application/rss+xml"/>
        <item>
            <title><![CDATA[Get started with app development : Front-end Design]]></title>
            <link>https://velog.io/@sky_j00n/Get-started-with-app-development-Front-end-Design</link>
            <guid>https://velog.io/@sky_j00n/Get-started-with-app-development-Front-end-Design</guid>
            <pubDate>Mon, 25 Jul 2022 01:12:15 GMT</pubDate>
        </item>
        <item>
            <title><![CDATA[Get started with app development : 'map( )' and 'filter( )']]></title>
            <link>https://velog.io/@sky_j00n/Get-started-with-app-development-map-and-filter</link>
            <guid>https://velog.io/@sky_j00n/Get-started-with-app-development-map-and-filter</guid>
            <pubDate>Thu, 14 Jul 2022 02:48:48 GMT</pubDate>
            <description><![CDATA[<h3 id="week-1">Week 1</h3>
<p>Since this week, I&#39;ve started Sparta Coding club to learn some java and application development.</p>
<p>As this week is the first week of the learning club, basic grammar for writing java scripts is the main topic for the lecture.</p>
<p>Since I had experience learning some python, C#, and Matlab, I thought basic grammar seemed easy.</p>
<p>However, the Assignment for map and filter is not easy even for me...</p>
<p>Even though there are some trials and errors in writing and debugging a code, the lecture is fascinating. I&#39;m very excited to encounter more challenges and get a solution for making small applications.</p>
<p>=================================================================</p>
<h3 id="map--filter-">map( ), filter( )</h3>
<p>Today, I learned <strong>&quot;map&quot;</strong> to count some specific elements and <strong>&quot;filter&quot;</strong> to make a new array fulfilled with particular elements. The code is as follows:</p>
<pre><code># Set the fruit list with many kinds of fruit
let fruit_list = [&#39;사과&#39;,&#39;감&#39;,&#39;감&#39;,&#39;배&#39;,&#39;포도&#39;,&#39;포도&#39;,&#39;딸기&#39;,
&#39;포도&#39;,&#39;감&#39;,&#39;수박&#39;,&#39;딸기&#39;]</code></pre><pre><code># Code to count the number of specific element (&#39;딸기&#39;)
let count= 0;
fruit_list.map((f)=&gt;{
    if(f==&#39;딸기&#39;) count+=1
})
console.log(count)</code></pre><pre><code># Code to make new array fulfilled with particular element (&#39;포도&#39;)
let podo_list = fruit_list.filter(f =&gt; f==&#39;포도&#39;)
console.log(podo_list)</code></pre>]]></description>
        </item>
    </channel>
</rss>