profile
๐Ÿ’ปโœจ
post-thumbnail

[JS] new ์—ฐ์‚ฐ์ž์™€ ์ƒ์„ฑ์ž ํ•จ์ˆ˜

์ƒ์„ฑ์ž์˜ ์˜์˜๋Š” ์žฌ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๊ฐ์ฒด ์ƒ์„ฑ ์ฝ”๋“œ๋ฅผ ๊ตฌํ˜„ํ•˜๋Š” ๊ฒƒ์ด๋‹ค.๋ชจ๋“  ํ•จ์ˆ˜๋Š” ์ƒ์„ฑ์ž ํ•จ์ˆ˜๊ฐ€ ๋  ์ˆ˜ ์žˆ๋‹ค.ํ•จ์ˆ˜ ์ด๋ฆ„์˜ ์ฒซ ๊ธ€์ž๋Š” ๋Œ€๋ฌธ์ž๋กœ ์‹œ์ž‘ํ•œ๋‹ค.๋ฐ˜๋“œ์‹œ new ์—ฐ์‚ฐ์ž๋ฅผ ๋ถ™์—ฌ์„œ ์‹คํ–‰ํ•œ๋‹ค.๋นˆ ๊ฐ์ฒด๋ฅผ ๋งŒ๋“ค์–ด this์— ํ• ๋‹นํ•œ๋‹ค.ํ•จ์ˆ˜ ๋ณธ๋ฌธ์„ ์‹คํ–‰ ํ›„ this์— ์ƒˆ๋กœ์šด ํ”„๋กœ

2022๋…„ 6์›” 22์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

[JS] ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ๋ฌธ๋ฒ• TIP

๋ณธ ํฌ์ŠคํŒ…์€ YouTube ๋“œ๋ฆผ์ฝ”๋”ฉ - ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ํ”„๋กœ์ฒ˜๋Ÿผ ์“ฐ๋Š” ํŒ์„ ๋ณด๊ณ  ์ •๋ฆฌํ•œ ๊ธ€์ž…๋‹ˆ๋‹ค.leftExpr์ด null์ด๊ฑฐ๋‚˜ undefined์ธ ๊ฒฝ์šฐ์— ๊ฐ’์ด ํ• ๋‹น๋จDefault Parameter๋Š” undefined ๊ฒฝ์šฐ์—๋งŒ ๊ฐ’์ด ํ• ๋‹น๋จleftExpr์ด falsy (f

2022๋…„ 6์›” 20์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

[Vue/Vetur]๐Ÿšจ Property '$route' does not exist on type 'CombinedVueInstance<Record<never, any> & Vue, object, object, object, Record<never, any>>'.

Property '$route' does not exist on type 'CombinedVueInstance&lt;Record&lt;never, any> & Vue, object, object, object, Record&lt;never, any>>'.VSC - Se

2022๋…„ 5์›” 28์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

[Vue] ๋ทฐ ๋ผ์šฐํ„ฐ (Vue Router) - ๋„ค๋น„๊ฒŒ์ด์…˜ ๊ฐ€๋“œ(Navigation Guards)

์ด๋ฆ„์—์„œ ์•Œ ์ˆ˜ ์žˆ๋“ฏ์ด vue-router๊ฐ€ ์ œ๊ณตํ•˜๋Š” ๋„ค๋น„๊ฒŒ์ด์…˜ ๊ฐ€๋“œ๋Š” ์ฃผ๋กœ ๋ฆฌ๋””๋ ‰์…˜ํ•˜๊ฑฐ๋‚˜ ์ทจ์†Œํ•˜์—ฌ ๋„ค๋น„๊ฒŒ์ด์…˜์„ ๋ณดํ˜ธํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค. ๋ผ์šฐํŠธ ํƒ์ƒ‰ ํ”„๋กœ์„ธ์Šค์— ์—ฐ๊ฒฐํ•˜๋Š” ๋ฐฉ๋ฒ•์—๋Š” ์ „์—ญ, ๋ผ์šฐํŠธ๋ณ„ ๋˜๋Š” ์ปดํฌ๋„ŒํŠธ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. As the name suggests, the

2022๋…„ 4์›” 19์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€

๐ŸŒ REST API ๊ด€์ ์—์„œ ๋ฐ”๋ผ๋ณด๋Š” HTTP ์ƒํƒœ์ฝ”๋“œ

ํด๋ผ์ด์–ธํŠธ์˜ ์š”์ฒญ์„ ์„œ๋ฒ„๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ์ฒ˜๋ฆฌํ•จํด๋ผ์ด์–ธํŠธ์˜ ์š”์ฒญ์„ ์„œ๋ฒ„๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ์ฒ˜๋ฆฌํ–ˆ๊ณ  ์ƒˆ๋กœ์šด ๋ฆฌ์†Œ์Šค๊ฐ€ ์ƒ๊น€ํด๋ผ์ด์–ธํŠธ์˜ ์š”์ฒญ์€ ์ •์ƒ์ ์ด๋‚˜, ์„œ๋ฒ„๊ฐ€ ์•„์ง ์š”์ฒญ์„ ์™„๋ฃŒํ•˜์ง€ ๋ชปํ•จํด๋ผ์ด์–ธํŠธ ์š”์ฒญ์€ ์ •์ƒ์ ์ด์ง€๋งŒ ์ปจํ…์ธ ๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š์Œํด๋ผ์ด์–ธํŠธ์˜ ์š”์ฒญ์ด ์œ ํšจํ•˜์ง€ ์•Š์•„ ๋” ์ด์ƒ

2022๋…„ 4์›” 16์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€