☰
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-computed-properties
/
test
/
fixtures
/
assumption-setComputedProperties
/
accessors
/
input.js
☽
☼
packages/babel-plugin-transform-computed-properties/test/fixtures/assumption-setComputedProperties/accessors/input.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
var obj = {
2
get [foobar]() {
3
return "foobar";
4
},
5
set [foobar](x) {
6
console.log(x);
7
},
8
get test() {
9
return "regular getter after computed property";
10
},
11
set "test"(x) {
12
console.log(x);
13
}
14
};