본문 바로가기

솔미는 성장중

검색하기
솔미는 성장중
프로필사진 solming

  • 분류 전체보기 (102)
    • HTML & CSS (3)
    • JavaScript (33)
      • 함수 (8)
      • 표준 내장 객체 (7)
    • TypeScript (7)
    • 백엔드 & Node.js (0)
    • Github (4)
    • 프로젝트 (7)
    • react (8)
    • 알아두면 좋을지도? (6)
    • 면접 대비 (5)
    • 피그마 (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/03   »
일 월 화 수 목 금 토
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
Tags
  • git
  • github
  • Javascript
  • 프론트엔드
  • sort
  • fetch
  • HTML
  • 렌더링
  • 기업연계
  • 화살표 함수
  • CSS
  • 패스트캠퍼스
  • 회고
  • 리액트
  • canvas
  • 부트캠프
  • 자바스크립트
  • axios
  • react
  • LFS
  • 객체
  • webpack
  • js
  • 타입스크립트
  • 협업
  • VITE
  • 비동기
  • 야놀자
  • 함수
  • 컴포넌트
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Prototype (1)

솔미는 성장중

[JS] prototype + 배열 만드는 방법

colors.test() 배열 만드는 방법 1. 리터럴 방식으로 배열 만들기 const colors = ['Red', 'Green', 'Yellow', 'Blue'] 2. 생성자 함수 형식으로 배열 만들기 (new사용) const colors = new Array('Red', 'Green', 'Yellow', 'Blue') console.log(colors) //(4) ['Red', 'Green', 'Yellow', 'Blue'] //0: "Red" //1: "Green" //2: "Yellow" //3: "Blue" console.log(colors.includes('Green')) //true console.log(colors.length) //4 여기서 length, includes를 prototy..

JavaScript 2023. 7. 19. 00:06
이전 Prev 1 Next 다음

Blog is powered by AXZ / Designed by Tistory

티스토리툴바