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
- 이펙티브자바
- 모던자바스크립트
- java
- 킹수빈닷컴
- http
- 백기선 스터디
- ㅇㄷㅇㅈ
- 김영한 http
- js api
- js promise
- JS 딥다이브
- 이펙티브자바 스터디
- GCP
- 백준
- 가상 면접 사례로 배우는 대규모 시스템 설계 기초
- 김영한 JPA
- js array
- 패스트캠퍼스 컴퓨터공학 완주반
- REST API
- JPA 연관관계 매핑
- HTTP 완벽가이드
- HTTP 완벽 가이드
- BOJ
- 프로그래머스
- 드림코딩
- 프로그래머스 SQL
- dreamcoding
- 이펙티브자바 아이템60
- Spring Security
- 이펙티브자바 아이템59
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |