Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js: space in annonymous function definition #54

Open
outsideris opened this issue May 11, 2014 · 0 comments
Open

js: space in annonymous function definition #54

outsideris opened this issue May 11, 2014 · 0 comments

Comments

@outsideris
Copy link
Owner

var func = function () {};
var func = function() {};

rationale for “Crockford style” is: result of “no space” if you remove name.

function foo() {}
function () {}

refer https://twitter.com/rauschma/status/465531822425014272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant