From 9f19c4b631b55a1407e5bc704232b850f46dddfa Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Tue, 16 Mar 2021 10:02:12 +0000 Subject: [PATCH] Make string building code consistent Fixes https://github.com/mdn/content/issues/3158 --- .../getting_started_with_the_web/javascript_basics/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/learn/getting_started_with_the_web/javascript_basics/index.html b/files/en-us/learn/getting_started_with_the_web/javascript_basics/index.html index 8e9ae4980270786..442ad7aac64e522 100644 --- a/files/en-us/learn/getting_started_with_the_web/javascript_basics/index.html +++ b/files/en-us/learn/getting_started_with_the_web/javascript_basics/index.html @@ -407,7 +407,7 @@

A user name of null?

setUserName(); } else { localStorage.setItem('name', myName); - myHeading.textContent = `Mozilla is cool, ${myName}`; + myHeading.textContent = 'Mozilla is cool, ' + myName; } }