일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 이진탐색
- 페이지네이션
- array
- Next.js
- Spring
- async
- extends
- 스크롤이벤트
- supabase 페이지네이션
- xlsx-js-style
- reactnative
- 코드푸시
- app.post
- generic
- interface
- react
- TS
- 타입스크립트
- Filter
- supabase auth
- meatadata
- 글또10기x코드트리
- set
- supabase authentication
- 상속
- javascript
- codepush
- 슬라이딩윈도우
- code-push-standalone
- map
- Today
- Total
목록array (2)
rhanziy
'use strict'; { // 배열 값을 join하여 출력, join(seperator)는 optional // 배열의 모든 요소를 연결해 하나의 문자열로 만든다. const fruits = ['apple','banana','orange']; const result = fruits.join(' and '); console.log(result); } { // make an array out of a string 문자열을 배열로 변환 // seperator 필수! 어떤걸 기준으로 쪼갤지 // limit은 optional > 출력 개수 const fruits = '🍕,🍔,🍟,🌭'; const result = fruits.split(','); console.log(result); } { // make thi..
const toBuy = ["potato", "tomato", "pizza"]; // list는 [] console.log(toBuy); console.log(toBuy.length); toBuy[3] = "olive"; // 배열의 개수를 알때, index는 0,1,2. . . 순서다. console.log(toBuy); toBuy.push("cheeze"); // 배열의 마지막에 값을 넣을때! console.log(toBuy); 'use strict'; // Array 🎉🎉 // 1. Declaration const arr1 = new Array(); const arr2 = [1, 2]; // 2. Index position const fruits = [ '🍎', '🍌' ]; console.log(f..