git ssb

0+

cel-desktop / ssb-pkg



Tree: ca90b5ca0579ebdcc0635288bce4978e3fb200f5

Files: ca90b5ca0579ebdcc0635288bce4978e3fb200f5 / 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