Brilliant, brilliant work! The replace()
method looks for a "name"
string within q
and replaces it with "quest"
.
Psst: replace()
doesn't change the q
variable but returns a string that we need to assign it back to q
.
Are you sure that it's a great idea to replace the whole string with "quest"
?