Skip to content

declare functions #34

Open
Open
@thepian

Description

@thepian

How about function declarations? It drives me nuts when I see

var packAssets;

packAssets = function(...) {
return packed;
}

I don't understand why people do this. If you call it before the declaration packAssets will be undefined.

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