From 639229e5539665294e8c1c88408e8d8d5189d31c Mon Sep 17 00:00:00 2001 From: jovton <5833599+jovton@users.noreply.github.com> Date: Fri, 28 Jan 2022 23:19:52 +0200 Subject: [PATCH] Updated unary operator precedence explanation Removed the double quotes in the explanation for unary operator precedence in the file /1-js/02-first-steps/08-operators/article.md, so that readers do not potentially misinterpret the expression as a string. --- 1-js/02-first-steps/08-operators/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/08-operators/article.md b/1-js/02-first-steps/08-operators/article.md index decf5bcf..82c23b3d 100644 --- a/1-js/02-first-steps/08-operators/article.md +++ b/1-js/02-first-steps/08-operators/article.md @@ -205,7 +205,7 @@ Here's an extract from the [precedence table](https://developer.mozilla.org/en-U | 3 | assignment | `=` | | ... | ... | ... | -As we can see, the "unary plus" has a priority of `17` which is higher than the `13` of "addition" (binary plus). That's why, in the expression `"+apples + +oranges"`, unary pluses work before the addition. +As we can see, the "unary plus" has a priority of `17` which is higher than the `13` of "addition" (binary plus). That's why, in the expression `+apples + +oranges`, unary pluses work before the addition. ## Assignment