☰
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
/
symbol
/
exec.js
☽
☼
packages/babel-plugin-transform-computed-properties/test/fixtures/assumption-setComputedProperties/symbol/exec.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
var k = Symbol();
2
var foo = {
3
[Symbol.iterator]: "foobar",
4
get [k]() {
5
return k;
6
}
7
};
8
9
expect(foo[Symbol.iterator]).toBe("foobar")
10
expect(foo[k]).toBe(k)