mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
17 lines
381 B
JavaScript
17 lines
381 B
JavaScript
module.exports = function isExported() {}
|
|
|
|
module.exports.foo = require("./foo.js")
|
|
|
|
module.exports.bar = class Bar {
|
|
constructor(a) {} // all are exported
|
|
static staticMethod(b) {}
|
|
instanceMethod(c) {}
|
|
}
|
|
|
|
class Baz {
|
|
constructor() {} // not exported
|
|
static staticMethod() {} // not exported
|
|
instanceMethod() {} // exported
|
|
}
|
|
|
|
module.exports.Baz = new Baz() |