---
# System prepended metadata

title: "\U0001F3C5 JS 任務 Day16 - 從不同資料集，尋找規律性"
tags: [軟體工程師體驗營 - 2024]

---

---
tags: 軟體工程師體驗營 - 2024
---

# 🏅 JS 任務 Day16 - 從不同資料集，尋找規律性

### 題目一：判斷是否有值
* 判斷帶入參數是否有陣列中的值 
``` =JavaScript
const numAry = [1,3,4,6,8];

// input 輸入
checkNum(3)
checkNum(9)
checkNum(83)
checkNum(6)

// output 輸出 obj 的結果
true
false
false
true
```

### 題目二：刪除值
* 判斷陣列是否有值，有則刪除指定資料，並回傳 `deletAry` 變數
* 沒有則回傳 false
``` =JavaScript
const deletAry = [1,3,4,6,8];

// input 輸入
delNum(3)
delNum(9)
delNum(83)
delNum(6)

// output 輸出 obj 的結果
[1,4,6,8]
false
false
[1,4,8]
```

### 題目三：兩個陣列尋找相同數字
* 請找出 a 與 b 陣列裡面，若有相同數值，則篩選出來成為一個陣列
``` =JavaScript
const a = [1,3,4,6,8];
const b = [3,6,12];
// input 輸入
checkSame(a,b)


// output 輸出 obj 的結果
[3,6]
```



## 回報流程

1. 將答案貼在 Codepen 並複製 Codepen 連結貼至「回報區」回報
（也可以將答案直接貼至「回報區」）

![](https://i.imgur.com/vftL5i0.png)


回報區
---

| 報數 | Discord 名字  |  Codepen／其他回饋                                                         |
|:----:|:-------------------:|:---------------------------------------------------------------------------------------------------------------------------------:|
|  1  | jerry | [Codepen](https://codepen.io/sony791210/pen/ZENbWRG) |
|  2  |  han  | [Codepen](https://codepen.io/iamHanCheng/pen/PovPNxy) |
|  3  |  詹姆士  | [Codepen](https://codepen.io/z111048/pen/OJYyNra?editors=0012) |
|  4  |  larry  | [Codepen](https://codepen.io/larrylinr5/pen/VwOvaRQ?editors=0012) |
|  5  |  tim | [Codepen](https://codepen.io/jskrtivy-the-animator/pen/GRapqJP?editors=1111) |
|  06  | Aya | [Codepen](https://codepen.io/NoNameNote/pen/OJYyXNY) |
|  7  | Michelle0417 | [Codepen](https://codepen.io/michelle0417/pen/yLWYOwN) |
|  8  | kawa | [Codepen](https://codepen.io/z83xji6/pen/xxNwVNr?editors=0012) |
| 9 | 小趴 |[Codepen](https://codepen.io/papa2415/pen/pomjbpN)|
|  10  | kawa | [Codepen](https://codepen.io/z83xji6/pen/bGyVead?editors=1100) |
|  11  | Lauren | [Codepen](https://codepen.io/Lauren8/pen/MWdaeRE) |
|  12  | Tanyaaaa | [Codepen](https://codepen.io/tanya77777/pen/PovPGwZ) |
|  13  | Chia Pin | [Codepen](https://codepen.io/joker-cat/pen/OJYyRdj) |
|  14  | JUN_ | [Codepen](https://codepen.io/Jun-L/pen/XWwmNEX?editors=0011) |
|  15  | Emma | [Codepen](https://codepen.io/huang_L/pen/VwOvmVy) |
|  16  | yuan! | [Codepen](https://codepen.io/townyuan/pen/zYQvoJB) |
|  17  | Sammy | [Codepen](https://codepen.io/fsczdlla-the-bold/pen/vYwNXqg?editors=0011) |
| 18 | Eden | [Codepen](https://codepen.io/iseden/pen/LYopbwO)|
| 19 | yunyouob |[Codepen](https://codepen.io/ozkkvlsu-the-animator/pen/bGyVgKV?editors=1111)|
| 20 | 知夜 |[Codepen](https://codepen.io/XiaoXiaTian2/pen/oNRjBaQ?editors=1111)|
| 21 | Jiahe |[Codepen](https://codepen.io/Andywang-95/pen/XWwmjLL?editors=0012)|
| 22 | 白白 |[Codepen](https://codepen.io/YuBai/pen/YzbypNQ?editors=0011)|
|  23  | Winnie | [Codepen](https://codepen.io/codepen-io-winnie/pen/oNRjBXE?editors=0011) |
|  24  | zaoannihao | [Codepen](https://codepen.io/ckhwdvrx-the-solid/pen/rNgOygb) |
|  25  | anderson666 | [Codepen](https://codepen.io/goodmanbuild/pen/wvbKPQK) |
|  26  | Tough life | [Codepen](https://codepen.io/hakuei0115/pen/ExzVQya) |
|  27  | Antonio | [Codepen](https://codepen.io/gwhvusel-the-builder/pen/dyEYdGp) |
|  28  | easonpan | [Codepen](https://codepen.io/easonpan0904/pen/oNRjqNp) |
|  29  | Zander | [Codepen](https://codepen.io/chuangmaster/pen/ExzVLVe) |
|  30  | Andy_12 | [Codepen](https://codepen.io/lifann/pen/jOobzMP?editors=0012) |
|  31  | hongru-LyNn | [Codepen](https://codepen.io/LyNnYWu/pen/jOobvJx?editors=1111) |
|  32  | 薛逢 | [Codepen](https://codepen.io/vogqyrrj-the-selector/pen/JjqYWwj) |
|  33  | Mionne | [Codepen](https://codepen.io/neohyntw/pen/JjqYepL) |
|  34  | macihuang | [Codepen](https://codepen.io/macy1215/pen/rNgOPrV) |
|  35  | ninii傳教士 | [Codepen](https://codepen.io/niiniiii/pen/KKLdEBM?editors=0011) |
|  36  | JY | [Codepen](https://codepen.io/jylee0805/pen/oNRjejO?editors=1111) |
|  37  | oyll | [Codepen](https://codepen.io/dizzydog-rgb/pen/NWVxPPr) |
|  38  | boin | [Codepen](https://codepen.io/boinji/pen/qBGbMmQ)|
| 39 | yo0x0oy | [Codepen](https://codepen.io/Dayton-Hsieh/pen/zYQrXEa)|
|  40  | Ariel | [Codepen](https://codepen.io/ariel0510/pen/MWdKdMN?editors=0012) |
|  41  | Casey | [Codepen](https://codepen.io/Caseyyyyyyyyyyyyyy/pen/vYwGLbY) |
|  42  | Camila | [Codepen](https://codepen.io/camilalo/pen/BaeKWpy) |
|  43  | Eileen | [Codepen](https://codepen.io/Eileen-io/pen/RwmaOBz) |
|  44  | 快樂小豬 | [Codepen](https://codepen.io/rtjowfyf-the-lessful/pen/vYwGJro?editors=1111) | 
|  45  | 阿若 | [Codepen](https://codepen.io/skar5268/pen/yLWJoRb) |
|  46  | Shen | [Codepen](https://codepen.io/yan-Shen-the-decoder/pen/QWRGLbN) |
|  47  | hao jing | [Codepen](https://codepen.io/hjxu/pen/qBGrZPp?editors=1111) |
| 48 | ChrisLin | [Codepen](https://codepen.io/vllzfzco-the-reactor/pen/YzbJdvb?editors=1111) |
|  49  | l.shua_228 | [Codepen](https://codepen.io/Shan-Hua-Lin-LIN-HUA/pen/RwzoPYZ) |
| 50 | maru3096 | [Codepen](https://codepen.io/deamru/pen/vYqVZLP) |


---

<!--【快速複製】    
|  num  | user | [Codepen]() |
--> 