You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
because exports per default merged with global object, like its done in browser if youjust assign variables without local scope, to let scripts work in node same way like in browser, but you can specify namespace for your module, so its then assigned to thhis namespace.
when run
module.exports.String = function() {
}
then child.js throw error?why?
in windows7 and node -v 0.10.21
The text was updated successfully, but these errors were encountered: