Files: 938b7ea4cfaa3cef6e1690b9ef3ea8bd7a0d2de1 / test / test-50-object-spread / test-x-index.js
151 bytesRaw
1 | ; |
2 | |
3 | var s = { o: 'o', k: 'k' }; |
4 | var { o, ...other } = s; |
5 | var fn = ({ x, ...y }) => x(y.value); |
6 | |
7 | fn({ x: console.log, value: o + other.k }); |
8 |
Built with git-ssb-web