Quiz // Q1. make a string out of an array const fruits = ['apple', 'banana', 'orange']; const result = fruits.join(); console.log(result); // 'apple,banana,orange' // Q2. make an array out of a string const fruits = '🍎, 🥝, 🍌, 🍒'; const result = fruits.split(','); console.log(result); // ["🍎", " 🥝", " 🍌", " 🍒"] // Q3. make this array look like this: [5, 4, 3, 2, 1] const array = [1, 2, 3, 4, 5]; ..
Array 1. Declaration const arr1 = new Array(); const arr2 = [1, 2]; 2. Index position const fruits = ['apple', 'banana']; console.log(fruits); // 'apple', 'banana' console.log(fruits.length); // 2 console.log(fruits[0]); // 'apple' console.log(fruits[1]); // 'banana' console.log(fruits[2]); // undefined console.log(fruits[fruits.length - 1]); // 'banana' 3. Looping over an array print all fruits..
- Total
- Today
- Yesterday
- BOJ
- 백기선 스터디
- 김영한 JPA
- HTTP 완벽가이드
- REST API
- 패스트캠퍼스 컴퓨터공학 완주반
- JPA 연관관계 매핑
- 집 구하기
- 프로그래머스 SQL
- 드림코딩
- js promise
- 모던자바스크립트
- HTTP 완벽 가이드
- 이펙티브자바 아이템59
- Spring Security
- 프로그래머스
- js api
- 킹수빈닷컴
- 백준
- dreamcoding
- http
- JS 딥다이브
- 김영한 http
- 가상 면접 사례로 배우는 대규모 시스템 설계 기초
- js array
- java
- 이펙티브자바 스터디
- 이펙티브자바 아이템60
- GCP
- 이펙티브자바
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
31 |