☰
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-proposal-pipeline-operator
/
test
/
fixtures
/
minimal
/
async-arrow
/
output.js
☽
☼
packages/babel-plugin-proposal-pipeline-operator/test/fixtures/minimal/async-arrow/output.js
code
plain
raw
symbols
SCIP
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
var
_ref, _;
2
function
then
(fn) {
3
return
async
value => {
4
return
fn
(
await
value);
5
};
6
}
7
var
result = (_ref = (_ =
1
, (
async
x => (
await
x) +
1
)(_)),
then
(x => x +
1
)(_ref));
8
result.
then
(val => {
9
expect
(val).
toBe
(
3
);
10
});