Skip to content

Use of let #63

@matthewdking

Description

@matthewdking
let keys = Object.keys(json);
let result = keys.reduce(function(acc, item) {

These variables are not reassigned therefore I would change them to const.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions