Skip to content

The "corrected" clock2.js is still wrong #5

@sypham2909

Description

@sypham2909

The current clock2.js that seems "to be corrected" still have an issue. The timing is right but calling the next() method sequentially all returns the same value of the count variable due to the closure.
Tested in Chrome browser version 108.0.5359.125

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