TIL 23/04/21(module.exports)

Seonmi Choi·2021년 4월 22일
0

Start again!!!

목록 보기
6/40
post-custom-banner

relationship between module.exports and exports
when the module is called, it is just implicit(암묵적인) code

//module.exports = {}
let module ={exports : {}}
let exports = module.exports//just address of module.exports 
exports = 10 
//reassignment is broken the relationship with module.exports
exportx.x = 10 // add the x value in reperence(module.exports)

The same module is called only once.

npx codestates-submition ls //Task submission confirmation

tip: useful site
jsbin(practice HTML CSS JS)
validator.w3.org
https://flukeout.github.io (css game)
flexbox froggy(practice flex box for responsive app)

profile
I am not afraid of learning!
post-custom-banner

0개의 댓글