git ssb

0+

cel-desktop / ssb-pkg



Tree: 67c0e15a98a66eb99db2251478505d6f3d37535c

Files: 67c0e15a98a66eb99db2251478505d6f3d37535c / 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