Test that throws an error on the object rest operator in the script

pull/1541/head
Josh Duff 7 years ago
parent 55d8636fe7
commit fa3a854c79

@ -0,0 +1,13 @@
<h1>Hello {name}!</h1>
<script>
export default {
data: () => ({
name: 'world',
foo: 'bar'
}),
computed: {
comp: ({ name, ...rest }) => rest
}
};
</script>
Loading…
Cancel
Save