my-idlers/node_modules/detective/test/files/rest-spread.js
cp6 fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00

10 lines
157 B
JavaScript
Vendored

var a = require('a');
var b = require('b');
var c = require('c');
var obj = { foo: 'bar', bee: 'bop' }
var spread = { ...obj }
var { foo, ...rest } = obj