mirror of
https://github.com/github/codeql.git
synced 2026-01-06 03:00:24 +01:00
11 lines
226 B
JavaScript
11 lines
226 B
JavaScript
function wrap(fn) {
|
|
return x => fn(x);
|
|
}
|
|
|
|
function f() {}
|
|
export const f1 = wrap(f); // $ name=(pack12).f1
|
|
export const f2 = wrap(f); // $ name=(pack12).f2
|
|
|
|
function g() {}
|
|
export const g1 = wrap(g); // $ name=(pack12).g1
|