From ec6b5c1200ad5d4b915b9b8128e4bb9d334bcbb7 Mon Sep 17 00:00:00 2001 From: galunni Date: Thu, 13 Feb 2020 19:30:09 +0100 Subject: [PATCH] Update article.md precedence 17 instead of 16 now, since table has been updated --- 1-js/02-first-steps/07-operators/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/07-operators/article.md b/1-js/02-first-steps/07-operators/article.md index 1d5f49cf..fe22adc3 100644 --- a/1-js/02-first-steps/07-operators/article.md +++ b/1-js/02-first-steps/07-operators/article.md @@ -148,7 +148,7 @@ Here's an extract from the [precedence table](https://developer.mozilla.org/en/J | 3 | assignment | `=` | | ... | ... | ... | -As we can see, the "unary plus" has a priority of `16` 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