From 75bd15da678412d300a3925d95eaec2c934d1663 Mon Sep 17 00:00:00 2001 From: MaoShizhong <122839503+MaoShizhong@users.noreply.github.com> Date: Thu, 31 Oct 2024 23:56:38 +0000 Subject: [PATCH] Fix missed line number change --- .../en-us/learn/javascript/first_steps/what_went_wrong/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/learn/javascript/first_steps/what_went_wrong/index.md b/files/en-us/learn/javascript/first_steps/what_went_wrong/index.md index a2a98b2693f2802..f0c130839546f93 100644 --- a/files/en-us/learn/javascript/first_steps/what_went_wrong/index.md +++ b/files/en-us/learn/javascript/first_steps/what_went_wrong/index.md @@ -94,7 +94,7 @@ Earlier on in the course we got you to type some simple JavaScript commands into It's the same error, but different browsers describe it in a different way. > [!NOTE] - > This error didn't come up as soon as the page was loaded because this error occurred inside a function (inside the `checkGuess() { }` block). As you'll learn in more detail in our later [functions article](/en-US/docs/Learn/JavaScript/Building_blocks/Functions), code inside functions runs in a separate scope than code outside functions. In this case, the code was not run and the error was not thrown until the `checkGuess()` function was run by line 83. + > This error didn't come up as soon as the page was loaded because this error occurred inside a function (inside the `checkGuess() { }` block). As you'll learn in more detail in our later [functions article](/en-US/docs/Learn/JavaScript/Building_blocks/Functions), code inside functions runs in a separate scope than code outside functions. In this case, the code was not run and the error was not thrown until the `checkGuess()` function was run by line 87. 4. The line number given in the error is 79. Have a look at line 79, and you'll see the following code: