mirror of
https://github.com/github/codeql.git
synced 2026-01-06 19:20:25 +01:00
17 lines
378 B
JavaScript
17 lines
378 B
JavaScript
module.exports = function isExported() {}
|
|
|
|
module.exports.foo = require("./foo.js")
|
|
|
|
module.exports.bar = class Bar {
|
|
constructor() {} // all are exported
|
|
static staticMethod() {}
|
|
instanceMethod() {}
|
|
}
|
|
|
|
class Baz {
|
|
constructor() {} // not exported
|
|
static staticMethod() {} // not exported
|
|
instanceMethod() {} // exported
|
|
}
|
|
|
|
module.exports.Baz = new Baz() |