node/test/mjsunit/fixtures/a.js

23 lines
284 B
JavaScript

var c = require("b/c.js");
debug("load fixtures/a.js");
var string = "A";
exports.A = function () {
return string;
};
exports.C = function () {
return c.C();
};
exports.D = function () {
return c.D();
};
process.addListener("exit", function () {
string = "A done";
});