Skip to content

Closure confusion #90

Description

@oreliable

Use closures, but don't nest them.

https://github.com/felixge/node-style-guide#no-nested-closures

This is a little funny considering the whole point of closures is to nest them so they close over variables in their parent scope.

The examples provided are just.. regular functions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions