Slide 53
Slide 53 text
Destructuring (cont.)
# assignment
a = {foo: bar, baz: baz, woot: [a1, a2] }
a = {foo: bar, baz, woot: [a1, a2] }
# vs
{ foo: bar, baz: baz, woot: [a1, a2] } = a
{ foo: bar, baz, woot: [a1, a2] } = a
{ foo: bar, baz, woot: [a1, a2] }:res = foo!