From 277cbb3cbd46e3826ade3f2fb1d5cccf2bd39699 Mon Sep 17 00:00:00 2001 From: Negar Date: Mon, 10 Jul 2017 12:15:59 +0430 Subject: [PATCH] Edit in line 148 Priority number of "unary plus" should be 16 according to the table. The number was typed 15, mistaken on line 148, the first line after the table. --- 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 a3de42b8..b869cfe5 100644 --- a/1-js/02-first-steps/07-operators/article.md +++ b/1-js/02-first-steps/07-operators/article.md @@ -145,7 +145,7 @@ An extract from the [precedence table](https://developer.mozilla.org/en/JavaScri | 3 | assignment | `=` | | ... | ... | ... | -As we can see, the "unary plus" has a priority of `15`, higher than `13` for the "addition" (binary plus). That's why in the expression `"+apples + +oranges"` unary pluses work first, and then the addition. +As we can see, the "unary plus" has a priority of `16`, higher than `13` for the "addition" (binary plus). That's why in the expression `"+apples + +oranges"` unary pluses work first, and then the addition. ## Assignment