! hushes IEFE auto-return with named function literal · Issue #185 · satyr/coco (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@qqueue

Description

@qqueue

stuff = !function thing arg
  wow

var stuff; stuff = (function(){ function thing(arg){ wow; } }());

compare to:

stuff = function thing arg
  wow

var stuff; stuff = (function(){ function thing(arg){ return wow; } return thing; }());

Metadata

Metadata

Labels

Development

No branches or pull requests

Issue actions