From 2706eb967f04bea4608f5da39a231ca42777db23 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Fri, 15 Mar 2024 04:34:37 -0400 Subject: [PATCH] Update files/en-us/web/javascript/reference/global_objects/parseint/index.md Co-authored-by: Jason Ren <40999116+jasonren0403@users.noreply.github.com> --- .../web/javascript/reference/global_objects/parseint/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/javascript/reference/global_objects/parseint/index.md b/files/en-us/web/javascript/reference/global_objects/parseint/index.md index c4ec0ac5f578b91..3adf7c054784282 100644 --- a/files/en-us/web/javascript/reference/global_objects/parseint/index.md +++ b/files/en-us/web/javascript/reference/global_objects/parseint/index.md @@ -78,7 +78,7 @@ The following examples all return `15`: parseInt("0xF", 16); parseInt("F", 16); parseInt("17", 8); -parseInt("015", 10); // but `parseInt(015, 10)` will return 13 +parseInt("015", 10); parseInt("15,123", 10); parseInt("FXX123", 16); parseInt("1111", 2);