michael@0: // Braces after => indicate a block body as opposed to an expression body. michael@0: michael@0: var f = () => {}; michael@0: assertEq(f(), undefined); michael@0: var g = () => ({}); michael@0: assertEq(typeof g(), 'object');