Conversation

Here's some student code, shared w/ permission. What feedback would you give? What do you think they're confused about? What concepts do you think they understand?
JavaScript code implementing a function to replace characters according to the given dictionary
10
3
Replying to
I write the initial function declaration for them, so the name of the function and arguments comes from me. But the confusion you describe is super common, thinking variable names impact what values they can reference.
1