It looks to me like this code would work just fine by removing the word 'typeof'. What am I missing?
On 8 May 2012 12:19, Rick Waldron <[email protected]> wrote: > > module Foo { > export function create( options ) { > > if ( typeof options === "null" ) { > return ... some default thing; > } > }; > } > > import create from Foo; > > let default = create( null ); > > -- Wesley W. Garland Director, Product Development PageMail, Inc. +1 613 542 2787 x 102
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

