☰
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-core
/
test
/
fixtures
/
plugins
/
multiple-definition-evaluation
/
exec.js
☽
☼
packages/babel-core/test/fixtures/plugins/multiple-definition-evaluation/exec.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
var code = `
2
function foo() {
3
var a = a ? a : a;
4
}
5
`;
6
7
transform(code, {
8
plugins: [
9
function (b) {
10
var t = b.types;
11
return {
12
visitor: {
13
ConditionalExpression: function(path) {
14
path.get("test").evaluateTruthy();
15
}
16
}
17
}
18
},
19
],
20
});