blob: b69139dfa23c7993fc8548aae75b6a60d682f135 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
const assert = require('assert');
let next = null;
exports.assert_next_undefined = function() {
next = undefined;
};
exports.assert_next_ten = function() {
next = 10;
};
exports.foo = function(a) {
console.log(a, next);
assert.strictEqual(a, next);
next = null;
};
|