git ssb

0+

cel-desktop / ssb-pkg



Tree: 4c58f1c6c3ddb86a97f27f0c84681d201ef1f75f

Files: 4c58f1c6c3ddb86a97f27f0c84681d201ef1f75f / test / test-50-object-spread / test-x-index.js

151 bytesRaw
1'use strict';
2
3var s = { o: 'o', k: 'k' };
4var { o, ...other } = s;
5var fn = ({ x, ...y }) => x(y.value);
6
7fn({ x: console.log, value: o + other.k });
8

Built with git-ssb-web