JIN_CODER

  • 홈
  • 태그
  • 방명록

node 1

배열과 유사 배열 객체

유사 배열 객체 이름 그대로 배열과 유사한 객체 배열처럼 보이지만, 사실 key가 숫자이고, length 값을 가지고 있는 객체 JS 에서 querySelectorAll이나 document.body.children으로 엘리먼트를 가져오면 유사 배열 객체에 담겨서 온다. // 배열 var arr1 = ['aaa', 'bbb', 'ccc']; console.log(arr1); // (3) ["aaa", "bbb", "ccc"] // 유사배열 var arr2 = document.body.children; console.log(arr2); // HTMLCollection(10) [header.main-header, aside.main-sidebar, div.wrapper, div#playerArea, // if..

coding/JS 2022.08.01
1
더보기
프로필사진

방문자수Total

  • Today :
  • Yesterday :
  • 분류 전체보기 (221)
    • coding (97)
      • Python (7)
      • HTML (0)
      • CSS (5)
      • JS (29)
      • Node.js (23)
      • Nest JS (4)
      • IT, CS (17)
      • Error (11)
      • git (1)
    • 일지 (91)
      • TIL (79)
      • WIL (12)
    • 항해99 (4)
    • 면접 요약 정리 (12)

최근글과 인기글

  • 최근글
  • 인기글

Tag

node, til,

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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

Copyright © Kakao Corp. All rights reserved.

티스토리툴바