From c1cfe12c18a4ac3afcabc6d9862b1de5202c534d Mon Sep 17 00:00:00 2001 From: Benji Date: Wed, 12 Jun 2024 11:05:49 +0000 Subject: [PATCH] Update Question 349 README.md Minor Update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 55f8eca3..ccde559c 100644 --- a/README.md +++ b/README.md @@ -6349,7 +6349,7 @@ Let's take console statement with unary operator as given below, ```javascript - console.log(+"Hello"); + console.log(+"Hello"); // NaN ``` The output of the above console log statement returns NaN. Because the element is prefixed by the unary operator and the JavaScript interpreter will try to convert that element into a number type. Since the conversion fails, the value of the statement results in NaN value.