Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- addEventListener
- CSS
- innerText
- yet
- Empty
- keyup
- Review
- Dom
- javascript
- keyboardEvent
- node
- HTML
- modal
- css:position
- ES5
- beforeinput
- dotenv
- TypingEffect
- node.js
- innerHTML
- react
- es6
- js
- for loop
- UI
- nodeValue
- Event
- Temporal dead zone
- textContent
- a11y
Archives
- Today
- Total
the murmurous sea
Objects and Arrays(yet done) 본문
Objects | Arrays | functions | |
are : in JavaScript, an object is a standalone entity, with properties and type. : containers for named values called properties or methods. |
are : a special variable to store multiple values. : "list-like objects" : single objects that contain multiple values stored in a list. |
||
Array objects can be stored in variables | |||
can access each value inside the list individually | |||
- object = { property 1, property2, ......} - Property has name (or key) : value pair. - A method is a function stored as a property |
Array has an order | ||
key : string. "" is necessary when it contains some spaces | |||
property.key property[key] : when the key has the spaces : when want to set the key as a variable. |
|||
prototype | Object.prototype | Array.prototype | |
www.developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects | www.developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Arrays |
'#dev > 개념정리' 카테고리의 다른 글
JS: Object.keys() & Object.values() & Object.entries() (0) | 2020.05.12 |
---|---|
유사 배열 객체(empty) (0) | 2020.05.12 |
Object literal (empty) (0) | 2020.05.12 |
DOM: Element.innerHTML (0) | 2020.05.05 |
DOM: HTMLElement.innerText (0) | 2020.05.05 |
Comments