commonJS 에서 모듈 export 할때 보통은 const m = { a: 1, b: function () { return 'b'; } } module.exports = m; 같은 형태를 취하지만 module 객체말고 exports 객체로도 모듈을 만들수 있다. exports.odd = '홀수입니다'; exports.even = '짝수입니다'; module.exports 로 한번에 대입하는 대신 각각 exports 객체에 속성으로 던져줌. 동작은 동일함. module.exports 와 exports 가 같은 객체를 참조하기 때문에. ( module.exports === exports // true ) exports.anyFunc 에 특정 함수를 넣으면 module.exports에도 동일한 함수가 들어..