☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-plugin-transform-new-target
/
test
/
fixtures
/
exec
/
function.js
☽
☼
packages/babel-plugin-transform-new-target/test/fixtures/exec/function.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
"use strict";
2
3
const targets = [];
4
function foo() {
5
targets.push(new.target);
6
}
7
8
foo();
9
foo.call({});
10
11
expect(targets[0]).toBeUndefined();
12
expect(targets[1]).toBeUndefined();