Skip to content

Commit d0fb49c

Browse files
author
Sam Kleinman
committed
fixing error message editing problem
1 parent c63011d commit d0fb49c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

source/release-notes/2.4.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -912,9 +912,11 @@ function definitions
912912
}
913913
}
914914

915-
The JavaScript code throws ``SyntaxError: In strict mode code, you
916-
may only declare functions at top level or immediately within
917-
another function.``
915+
The JavaScript code throws the following syntax error:
916+
917+
.. code-block:: none
918+
919+
SyntaxError: In strict mode code, functions can only be declared at top level or immediately within another function.
918920

919921
String Generic Methods
920922
^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)