Skip to content

faker.helpers.objectKey and faker.helpers.objectValue examples are not very instructive #3303

@matthewmayer

Description

@matthewmayer
faker.helpers.objectKey({ myProperty: 'myValue' }) // 'myProperty'
faker.helpers.objectValue({ myProperty: 'myValue' }) // 'myValue'

we should use example objects with at least two key-values pairs so there is some randomness.

Metadata

Metadata

Assignees

Labels

c: docsImprovements or additions to documentationm: helpersSomething is referring to the helpers modulep: 1-normalNothing urgent

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions