☰
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
/
smart
/
transform-await-and-arrow-functions
/
input.js
☽
☼
packages/babel-plugin-proposal-pipeline-operator/test/fixtures/smart/transform-await-and-arrow-functions/input.js
code
plain
raw
symbols
SCIP
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
const
triple
= (x) => x *
3
;
2
3
async
function
myFunction
(n) {
4
return
n
5
|>
Math
.
abs
6
|>
Promise
.
resolve
(#)
7
|> await #
8
|> triple;
9
}
10
11
return
myFunction
(-
7
).
then
(result => {
12
expect
(result).
toBe
(
21
);
13
});