화살표 함수

Jmnote (토론 | 기여)님의 2020년 7월 23일 (목) 09:47 판 (Jmnote님이 Arrow Function 문서를 화살표 함수 문서로 이동했습니다)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요[ | ]

Arrow function expressions
Arrow function
화살표 함수
const materials = [
  'Hydrogen',
  'Helium',
  'Lithium',
  'Beryllium'
];

console.log(materials.map(material => material.length));
// expected output: Array [8, 6, 7, 9]

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}