hugoWebsite/node_modules/detective/test/files/rest-spread.js
Jeremy Nusser 0ab675d92b Initial commit... 🎉🎉🎉
2022-10-28 17:20:35 -05:00

9 lines
157 B
JavaScript

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