mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
ff1efa6087
PR-URL: https://github.com/nodejs/node/pull/10550 Reviewed-By: Rich Trott <rtrott@gmail.com>
26 lines
335 B
JavaScript
26 lines
335 B
JavaScript
const c = require('./b/c');
|
|
|
|
console.error('load fixtures/a.js');
|
|
|
|
var string = 'A';
|
|
|
|
exports.SomeClass = c.SomeClass;
|
|
|
|
exports.A = function() {
|
|
return string;
|
|
};
|
|
|
|
exports.C = function() {
|
|
return c.C();
|
|
};
|
|
|
|
exports.D = function() {
|
|
return c.D();
|
|
};
|
|
|
|
exports.number = 42;
|
|
|
|
process.on('exit', function() {
|
|
string = 'A done';
|
|
});
|