Files
codeql/javascript/ql/test/library-tests/NodeJS/mjs-files/depend-on-me.mjs
2018-08-02 17:53:23 +01:00

7 lines
138 B
JavaScript

exports.add = function add(x, y) { // FAILS: exports is not available
return x + y;
}
export function add(x, y) {
return x + y;
}