Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2783,7 +2783,8 @@ Other Style Guides
// ...
}())

// bad - returns `undefined` instead of the value on the next line - always happens when `return` is on a line by itself because of ASI!
// bad - returns `undefined` instead of the value on the next line
// - always happens when `return` is on a line by itself because of ASI!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don’t enforce line length for comments; this is fine as-is.

function foo() {
return
'search your feelings, you know it to be foo'
Expand Down