Skip to content

ltHelper and gtHelper third argument bug #363

@alexandernst

Description

@alexandernst

The third argument of both functions is returned without being defaulted. This means that the functions are returning "undefined" (sometimes) when they should be returning "false".

Unless strict "if" statements are used with those helper functions, the code will work as expected, but I feel this is kind of dirty.

Should I submit a PR to default the third argument to false? (arg3 = arg3 || false will do it)

@obeliskos

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