Skip to content

Name bikeshedding #6

@Haroenv

Description

@Haroenv

Not sure if this is too early; but I like the idea of the symmetry with existing length and size keywords on arrays and maps.

Are properties like:

  • Object.length(...)
  • Object.size(...)

possible?

My logic would be that if you're already used to doing Object.keys().length you would think of it because of the same name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions