Node JS
Saturday, 14 September 2019
Declaring exports
What is the difference between this:module.exports = { foo: 'foo', bar: 'bar' } And this:exports.foo = 'foo'; exports.bar = 'bar'; Is there even a difference at all? Thanks in advance!
Submitted September 14, 2019 at 09:31PM by edwild22
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment