Skip to content

Commit

Permalink
Make string building code consistent (mdn#3179)
Browse files Browse the repository at this point in the history
Fixes mdn#3158
  • Loading branch information
chrisdavidmills authored Mar 18, 2021
1 parent 9e18a29 commit a3ce084
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ <h3 id="A_user_name_of_null">A user name of null?</h3>
setUserName();
} else {
localStorage.setItem('name', myName);
myHeading.textContent = `Mozilla is cool, ${myName}`;
myHeading.textContent = 'Mozilla is cool, ' + myName;
}
}</pre>

Expand Down

0 comments on commit a3ce084

Please sign in to comment.