☰
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
/
evaluation
/
input.js
☽
☼
packages/babel-plugin-proposal-pipeline-operator/test/fixtures/minimal/evaluation/input.js
code
plain
raw
symbols
SCIP
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
var
obj = {
2
get
prop
() {
3
return
this.
_prop
=
1
;
4
},
5
6
get
method
() {
7
if
(!this.
_prop
)
throw
new
Error
(
'invalid evaluation order'
);
8
return
(v) => v;
9
}
10
}
11
12
var
result = obj.
prop
|> obj.
method
;
13
expect
(result).
toBe
(
1
);