250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
Tags
- IOS
- front-end
- php
- keyframes
- 비전공 개발자
- 비전공자
- 개발자
- hover
- 자바스크립트
- html5
- SWIFT
- ipad
- 백엔드
- HTML
- react
- Animation
- iPhone
- 프론트엔드
- 풀스택
- button
- MAC
- css3
- CSS
- effect
- jQuery
- image
- 애니메이션
- iOS 개발자
- xcode
- javascript
Archives
- Today
- Total
목록map (1)
비전공자 개발일기
Javascript forEach, map, filter, some, every, reduce
★ 모든 method는 지정한 배열 내 요소들로 진행 array.map(x => x *2)이면 이때 x는 array[0], array[1].... 이 되는 것! // Array.map(함수) const numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]; const doubles = numbers.map(function (num) { return num * 2; }) console.log(doubles) /////////////////////////////////////////////////////////////// // Array.forEach(함수) const numbers = [1, 2, 3, 4, 5, ..
Javascript
2021. 9. 15. 00:13