prettier/tests/destructuring/destructuring.js

4 lines
105 B
JavaScript

const [one, two = null, three = null] = arr;
a = ([s=1,]) => 1
const { children, ...props } = this.props