Brandon Benvie (2013-08-09T23:21:00.000Z)
domenic at domenicdenicola.com (2013-08-23T13:42:33.395Z)
On 8/9/2013 4:03 PM, Allen Wirfs-Brock wrote: > ```js > const MUST = () => {throw TypeError("Missing required parameter"}; > > function foo (a=MUST(), b, c) {...} > ``` But that doesn't work for: ```js function foo({ a } = { a: MUST() }){} foo({}); // doesn't throw function bar({ +a }){} bar({}); // would throw ```