반응형
const arr = ['node.js','one']
const result = arr.find(key -> key === 1)
const response = arr.includes('node.js')
반응형
'NodeJs' 카테고리의 다른 글
map and filter (0) | 2020.01.10 |
---|---|
foreach (0) | 2020.01.10 |
every (0) | 2020.01.10 |
module.export (0) | 2020.01.10 |
Nodejs dev env setup (0) | 2020.01.10 |