Skip to content

! hushes IEFE auto-return with named function literal  #185

Closed
@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

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions