Skip to content

Why is .keys().forEach() working here? #3

@katerlouis

Description

@katerlouis

Hey,

firstly: thanks for the talk! Cool idea to have a github repo for it :)

My question:
image

Why does this work? When I google on how to loop through an object or array with vanilla javascript, I get solutions like this:

Object.keys(myObject).forEach( ... )

so I'm wondering why your version works aswell. Is this functionality coming from require.context() maybe?

Greetings,

René

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