# 20210106(수)

## 2021-01-06

### 1. 학습 날짜

* 2020-01-06

### 2. 학습 시간

* 09:30 \~ 20:00

### 3. 학습 범위 및 주제

* 자바스크립트

### 4. 학습 목표

* 자바스크립트 학습

### 5. 과제 제출

* x

### 6. 상세 학습 내용

1. 자바스크립트
   * [TCP스쿨](http://www.tcpschool.com/javascript/js_function_functionScope)을 보면서 학습했다.
   * 자바스크립트는 객체지향언어지만, 그동안 학습해왔던 c++, 루비 같은 언어와는 다르게 `프로토타입`을 기반으로 하는 객체지향 언어다.
     * 기존의 언어들은 class 기반의 객체지향이었음
   * DOM
     * HTML의 모든 요소들은 브라우저에 렌더링 되기전에 몇 단계의 과정을 거치는데 그 과정의 첫 번째는 모든 HTML 요소들을 태그로 만드는 작업이다.
       * 여기서 중요한건 모든 요소가 DOM으로 만들어진다.
       * 공백 또한 DOM이 된다.
     * DOM 은 노드끼리 연결이 되서 하나의 TREE가 된다.
     * 보통의 경우 HTML 태그가 루트 노드가 되고 이 루트노드에 body, head 등이 자식 노드로 들어오게 된다.
     * 루트 노드를 제외한 모든 노드들은 단 하나의 부모 노드만을 갖는다.
     * 모든 HTML의 요소가 DOM 트리가 되는 덕분에 자바스크립트에서는 이 DOM 을 분석하고, 추가하는 등의 작업을 할 수 있다.

### 7. 오늘 학습 내용에 대한 개인적인 총평

* 뭔가 너무 대충대충 하는거같은 느낌이다.. 이러면 안되는데

### 8. 다음 학습 계획

* 제이쿼리 학습하기


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://simian114.gitbook.io/blog/undefined-1/diary/2021/january/20210106.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
