codecombat / codecombat/esper.js
Bug in new demo
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
const x = 'a';
const y = () => {
const x = 'b';
console.log(x);
}
y();
Output is right in the demo online ('b'), but when I build the code, the demo output is 'a'.
Thought I would let you know.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the online demo with the built code using the provided closure example, then trace how each version executes the demo. Done means the built demo produces 'b', matching the online output; the issue names no specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100