git ssb

0+

cel-desktop / ssb-pkg



Tree: 8f4b43a09aab9801bf28987edd59c2e366180327

Files: 8f4b43a09aab9801bf28987edd59c2e366180327 / 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