์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- addEventListener
- js
- sql
- mysql
- ๋๊ธฐ
- https://m.blog.naver.com/tt2t2am1118/221010125300
- database
- Porject
- ajax
- JS #ํ๋ก์ ํธ
- Import
- object
- ๊ฒ์
- prj
- async
- await
- json
- ๋น๋๊ธฐ
- execCommand
- Project
- https://youtube.com/playlist?list=PLuHgQVnccGMA5836CvWfieEQy0T0ov6Jh&si=FTaYv8m21EhO-A2K
- eport
- ์ฐธ๊ณ ๋ธ๋ก๊ทธ
- callback
- promise
- ํผํ
- setTimeout()
- webpack
- slow and steady
- db
- Today
- Total
C-log
JS์ ํต์ฌ! ํ๋กํ ํ์ prototype ๋ณธ๋ฌธ
YouTube Link |
|
JavaScript - prototype (1/2) : prototype์ด๋? | |
https://youtu.be/yXnbvyl04V4 | |
JavaScript - prototype (2/2) : prototype chain | |
https://youtu.be/673mZ8rE9UY |
์๋ฐ์คํฌ๋ฆฝํธ์ ๊ฐ์ฒด์งํฅ์ ์งํฑํ๋ ํต์ฌ์ ์ธ ๊ฐ๋ ์ด๋ค.
Prototype : ์ํ
ํ๋กํผํฐ๋ ํค(key)์ ๊ฐ(value)๋ก ๊ตฌ์ฑ๋์ด ์๋ค. ํค๋ ๋ฌธ์์ด๋ก ํํ๋๋ค. ํ๋กํผํฐ์ ์ ๊ทผํ ๋๋ ์ ํ๊ธฐ๋ฒ ๋๋ ๋๊ดํธ ํ๊ธฐ๋ฒ์ ์ฌ์ฉํ ์ ์๋ค. ํํ๊ฒ ์ฌ์ฉ๋๋ ๋ฐฉ๋ฒ์ด๋ฉฐ ๋ฆฌํฐ๋ด์ ์์ฉํด ์ด๊ธฐํ ์ํค๋ ๋ฐฉ๋ฒ์ด๋ค.
์ ์ฝ๋๋ ์์ฑ์ ํจ์๋ก ๊ฐ์ฒด์ ์ด๊ธฐ ์ํ๋ฅผ ์ค์ ํ๊ธฐ ์ํด ๋งค๊ฐ๋ณ์๋ฅผ ์ฌ์ฉํ๋ค. ๋งค๊ฐ๋ฒผ์๋ฅผ ํตํด์ ํ๋กํผํฐ๋ฅผ ์ด๊ธฐํ ํ๋ค.
prototype - JavaScript
์ด๋ฒ ์์ ์ ์์์์ ์ ์ฐ์ฅ์ ์์ ์๋ค. ์์์ ๊ตฌ์ฒด์ ์ธ ์๋จ์ธ prototype์ ๋ํด์ ์์ธํ ์์๋ณด์. prototype ๊ทธ๋ผ prototype์ด๋ ๋ฌด์์ธ๊ฐ? ํ๊ตญ์ด๋ก๋ ์ํ์ ๋๋ก ๋ฒ์ญ๋๋ prototype์ ๋ง ๊ทธ๋๋ก
opentutorials.org
์๋ ์ฝ๋๋ ๊ฐ์ฒด ๋ฆฌํฐ๋ด๊ณผ ์์ฑ์ ํจ์, ์ด ๋๊ฐ์ง ์ฝ๋๋ค ์ด์ฉํ ์ฝ๋์ด๋ค.
'๐JS > โกver.1' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
JS์ ํต์ฌ! Getter์ Setter๋ง๋ค๊ธฐ (0) | 2023.05.22 |
---|---|
JS์ ํต์ฌ : ERD (0) | 2023.05.22 |
JS์ ํต์ฌ! Object ์ค๋ธ์ ํธ (0) | 2023.05.16 |
JS์ ํต์ฌ! Array ๋ฐฐ์ด (0) | 2023.05.12 |
JS์ ํต์ฌ! ์ฝ๋ฐฑ ํจ์ (0) | 2023.05.10 |