Skip to content

"Solution (click to show)" shows the wrong solution #30

@mb64

Description

@mb64

In the two exercises just above this section, when you click for the first solution, it instead shows you the second solution.

I think the fix would be to change here from solution = to const solution = or let solution = , for proper lexical scope. I'm not confident enough in my JS to make a PR, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions