From fddecebd0f9a5f6d9bb0057d85c72e03f5a4d035 Mon Sep 17 00:00:00 2001 From: xp44mm <34696643@qq.com> Date: Sun, 7 Mar 2021 16:56:57 +0800 Subject: [PATCH] Document that the only valid octal escape sequence is \0 (#2905) --- .../javascript/reference/global_objects/string/index.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/files/en-us/web/javascript/reference/global_objects/string/index.html b/files/en-us/web/javascript/reference/global_objects/string/index.html index a0668c0545387de..461b53765d32c27 100644 --- a/files/en-us/web/javascript/reference/global_objects/string/index.html +++ b/files/en-us/web/javascript/reference/global_objects/string/index.html @@ -153,11 +153,8 @@

Escape notation

- \XXX
- (where XXX is 1–3 octal digits; range of - 0377) - ISO-8859-1 character / Unicode code point between U+0000 and - U+00FF + \0 + U+0000 NULL character \'