1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| let arr = [1, 2, 3]; let arr2 = [...arr];
let [a, b, c] = [1, 2, 3];
let [ , , third] = ["foo", "bar", "baz"];
let [head, ...tail] = [1, 2, 3, 4];
let [x, y, ...z] = ['a'];
let [x, y = 'b'] = ['a'];
const { form: { validateFields } } = this; validateFields((err, values) => { if (!err) { console.log("Received values of form: ", values); } });
|