๋ฐ์ํ ์ํ์ฝ๋ฉ85 [Node.js-์ํ์ฝ๋ฉ] JavaScript - ๊ฐ์ฒด - ๊ฐ์ผ๋ก์ ํจ์ [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=Nw1Qt9P9Tq0&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=51 syntax/object2.js var f = function(){ console.log(1+1); console.log(1+2); } var a = [f]; a[0](); // ์คํ var o = { func:f } o.func(); // ์คํ 2021. 2. 6. [Node.js-์ํ์ฝ๋ฉ] JavaScript - ๊ฐ์ฒด-๋ฐ๋ณต [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=Gj5MwY9ySzU&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=50 syntax/object.js var members = ['egoing', 'k8805', 'hoya']; console.log(members[1]); // k8805 var i = 0; while(i < members.length){ console.log('array loop', members[i]); i = i + 1; } var roles = { 'programmer':'egoing', 'designer' : 'k8805', 'manager' : 'hoya' } console.log(roles.desig.. 2021. 2. 6. [Node.js-์ํ์ฝ๋ฉ] JavaScript - ๊ฐ์ฒด์ ํ์ [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=PADXQRMS7eY&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=49 syntax/object.js var members = ['egoing', 'k8805', 'hoya']; console.log(members[1]); // k8805 var roles = { 'programmer':'egoing', 'designer' : 'k8805', 'manager' : 'hoya' } console.log(roles.designer); // k8805 2021. 2. 6. [Node.js-์ํ์ฝ๋ฉ] App ์ ์ - ๊ธ์ญ์ ๊ธฐ๋ฅ ์์ฑ [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=RDj4Hns1Qnk&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=48 main.js (๋ณ๊ฒฝ) var http = require('http'); var fs = require('fs'); var url = require('url'); var qs = require('querystring'); function templateHTML(title, list, body, control){ return ` WEB ${list} ${control} ${body} `; } function templateList(filelist){ var list = ''; var i = 0; while(i .. 2021. 2. 6. [Node.js-์ํ์ฝ๋ฉ] App ์ ์ - ๊ธ์ญ์ - ์ญ์ ๋ฒํผ ๊ตฌํ [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=yn5VtLGbyAE&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=47 main.js (๋ณ๊ฒฝ) var http = require('http'); var fs = require('fs'); var url = require('url'); var qs = require('querystring'); function templateHTML(title, list, body, control){ return ` WEB ${list} ${control} ${body} `; } function templateList(filelist){ var list = ''; var i = 0; while(i .. 2021. 2. 6. [Node.js-์ํ์ฝ๋ฉ] App ์ ์ - ๊ธ์์ - ํ์ผ๋ช ๋ณ๊ฒฝ, ๋ด์ฉ์ ์ฅ [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=Q6MQ5bi7HFY&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=46 โ ์ฌ๊ธฐ์๋ถํฐ๋ ํผ์์๋ ๊ณต๋ถํ ์ ์์! main.js (๋ณ๊ฒฝ) var http = require('http'); var fs = require('fs'); var url = require('url'); var qs = require('querystring'); function templateHTML(title, list, body, control){ return ` WEB ${list} ${control} ${body} `; } function templateList(filelist){ var list = .. 2021. 2. 6. ์ด์ 1 ยทยทยท 5 6 7 8 9 10 11 ยทยทยท 15 ๋ค์ ๋ฐ์ํ