Skip to content

Chapter 12: toposort, copy for result.finished? #220

@3vinicius

Description

@3vinicius

Is the variable ftime supposed to be used as a copy for result.finished in toposort?

What happens is that when I simply assign ftimes = result.finished, the value of finished is changed. So, I decided to use Object.assign({}, result.finished), which creates a copy of the object.

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