-
-
Notifications
You must be signed in to change notification settings - Fork 39.1k
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
Challenge [Search and Replace]: Cannot assign to read only property '0' of string 'leaped' #11834
Comments
Hi @vasadhananjay! Thank you for reporting this issue. You can not edit a string with that syntax (although it would be cool if you could). This challenge explains it https://www.freecodecamp.com/challenges/understand-string-immutability This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on Free Code Camp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms. If you think I'm wrong in closing this issue, please reopen it and add further clarification. |
Agreed that it shouldn't work. But it shouldn't throw an error either should it? |
@vasadhananjay That's how Javascript works, we can't really influence it. |
Challenge Search and Replace has an issue.
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
.Running the code below results in the following issue. I've validated that this function executes fine.
JSBin: http://jsbin.com/tegiwaseti/edit?html,js,output
My code:
The text was updated successfully, but these errors were encountered: