assign module.exports for CommonJS factory path

Is the failure to assign to module.exports an oversight or taking advantage of some peculiarity in the node module loader?  It causes the module to return an empty Object in my version of node (0.10.26).