Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mb64 opened this issue Aug 3, 2020 · 1 comment
Open

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

mb64 opened this issue Aug 3, 2020 · 1 comment

Comments

@mb64
Copy link

mb64 commented Aug 3, 2020

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.

@athas
Copy link
Member

athas commented Aug 3, 2020

To be honest, neither am I.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants