Descriptionmodule.exports should default to an empty object.
Per the spec in modules.md the exports property should default to an
empty object. We lazy allocate it so that modules that just replace it
don't create the empty object and then throw it away.
R=abarth@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/670cc46fb1c30d9450ec5f61963ab92c659d3c43
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|