An introduction to ES6 Part 3: Destructuring(globaldev.co.uk) |
An introduction to ES6 Part 3: Destructuring(globaldev.co.uk) |
let square = x => x * x
And the next version of JavaScript is looking much more fun to work with! function foo(a, { b: b, c: c }, [d, e]) {
print (a, b, c, d, e);
}