From 54c8247210c76dddc5306a649afc8d72f9a16b7a Mon Sep 17 00:00:00 2001 From: Vse Mozhe Buty Date: Wed, 7 Oct 2020 22:55:26 +0300 Subject: [PATCH] Fix link in 1.5.3 The page of the current link has not this anchor anymore. --- 1-js/05-data-types/03-string/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/03-string/article.md b/1-js/05-data-types/03-string/article.md index 765823d7..9e0b692b 100644 --- a/1-js/05-data-types/03-string/article.md +++ b/1-js/05-data-types/03-string/article.md @@ -312,7 +312,7 @@ if (str.indexOf("Widget") != -1) { #### The bitwise NOT trick -One of the old tricks used here is the [bitwise NOT](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#Bitwise_NOT) `~` operator. It converts the number to a 32-bit integer (removes the decimal part if exists) and then reverses all bits in its binary representation. +One of the old tricks used here is the [bitwise NOT](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_NOT) `~` operator. It converts the number to a 32-bit integer (removes the decimal part if exists) and then reverses all bits in its binary representation. In practice, that means a simple thing: for 32-bit integers `~n` equals `-(n+1)`.