Debian Codegraph @

.cargo/vendor/wasm-bindgen/tests/wasm/duplicate_deps.js

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