๋ถ‰์€๊ฑฐ์œ„ ๋…ธํŠธ / GoOSe Note

node.js notes

๋‘ฅ์ง€
Development
๋ถ„๋ฅ˜
node.js
๋“ฑ๋ก์ผ
2019-07-01 03:40:31
์กฐํšŒ์ˆ˜
728
์ข‹์•„์š”
0

console.log()๋ฅผ ์‚ฌ์šฉํ• ๋•Œ ์ถœ๋ ฅ ๋ฉ”์„ธ์ง€ ๋‹ค์Œ์— undefined๋ฉ”์„ธ์ง€๊ฐ€ ๋‚˜์˜ฌ๋•Œ..

ํ„ฐ๋ฏธ๋„์—์„œ console.log()๋ฅผ ์‚ฌ์šฉํ•˜์ง€์•Š๊ณ  ๊ทธ๋ƒฅ ๋ฌธ์ž๋‚˜ ๋ณ€์ˆ˜๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๊ฐ’์ด ๋‚˜์˜จ๋‹ค.

> var foo = "bar";
> foo;
bar

๊ทธ๋ž˜๋„ console.log()๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ undefined๋ฅผ ์ถœ๋ ฅํ•˜์ง€ ์•Š๊ฒŒ ํ•˜๋ ค๋ฉด... module.exports.repl.ignoreUndefined =true; ์ด ๋ฉ”์„ธ์ง€๋ฅผ ์ ์–ด์„œ ์‹คํ–‰ํ•ด์ฃผ๋ฉด ๋œ๋‹ค.

node.js ๋ฒ„์ „ ์—…๊ทธ๋ ˆ์ด๋“œ

http://theholmesoffice.com/node-js-fundamentals-how-to-upgrade-the-node-js-version/

crypto ๋ชจ๋“ˆ์„ ์ด์šฉํ•œ ํ…์ŠคํŠธ ์•”ํ˜ธํ™”

http://digveloper.ppillip.com/?p=182