Тёмный

Bitwise Operators JavaScript 

techsith
Подписаться 148 тыс.
Просмотров 15 тыс.
50% 1

Bitwise Operators , And, OR , exclusive OR ( XOR ) , NOT , Zero fill left shift , Signed right shift , Zero fill right shift in JavaScript
#bitwise #operator #javaScript
★★E-degree to do with Eduonix★★ ( Apply coupon - "TECH20" to get 20% off!)
Full-stack JavaScript E-degree- bit.ly/2Gtyx5F
The Complete Web Development Tutorial Using React and Redux - bit.ly/37AMfzh
Projects in React Native: Learn By Building Real World Apps - bit.ly/2tNVii1
*My Udemy Courses
www.udemy.com/js-masterclass/
www.udemy.com/course/react-ho...
Follow me for technology updates
* / techsith
* / techsith
* / techsith1
* / 13677140
* / patelhemil
Help me translate this video.
* ru-vid.com_cs_...
Note: use translate.google.com/ to translate this video to your language. Let me know once you do that so i can give you credit. Thank you in advance.

Наука

Опубликовано:

 

10 мар 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@liveandlearn11
@liveandlearn11 9 месяцев назад
Your tutorial broke through my mental block on Bitwise Operators. Thank you for making it so easy to understand.
@bluescanfly1981
@bluescanfly1981 4 года назад
Great stuff.. One little note: "Binary operator" refers to arity - that it uses 2 operands not that the operands are in binary. There are also ternary (?:) and unary operators (++) . The operators we're talking about are logical / Boolean operators - they're often used interchangeably, but some materials make the distinction
@paschalynukwuani6930
@paschalynukwuani6930 Год назад
You are always the best. Thank you for zooming your screen to aid your viewers in seeing the code better.
@lend7107
@lend7107 Год назад
Great video! you simplified what MDN Docs had me scratching my head at. Earned a subscriber.
@iuripires7285
@iuripires7285 3 года назад
Man, THANK YOU VERY MUCH! I finally understood this, dude! I'm reading the book Cracking the Coding Interview and one problem there has two different implementations. One of them has bitwise operation. You freaking saved me!
@maskman4821
@maskman4821 4 года назад
thank you for this tutorial, I have learned something !!!
@elenduchinazo2301
@elenduchinazo2301 Год назад
thank you so much. this is a well detailed video
@216syed
@216syed Год назад
Great explanation!!
@bilaljohn7372
@bilaljohn7372 4 года назад
Awesome as always 👌👌👌
@ifeoluwasegundaystar9786
@ifeoluwasegundaystar9786 2 года назад
thank you for this!
@srinumajji501
@srinumajji501 4 года назад
Thanks Sir😀 for the video
@IvanHaha
@IvanHaha 4 года назад
The first application that came to my mind was checking if a number is odd or even with: `let isOdd = number & 1 ? true : false;`
@maskman4821
@maskman4821 4 года назад
translation: if (number & 1) is true (equals 1), then isOdd is an odd number, or it is an even number !!!
@Techsithtube
@Techsithtube 4 года назад
That is a very simple and elegant example of how to use bit-wise operators in a real application. Thanks for sharing!
@explore_with_buddha
@explore_with_buddha Год назад
Well explained
@isratjaman8921
@isratjaman8921 2 года назад
thank you! thank you! thanks a million.
@krisnarusdiono1304
@krisnarusdiono1304 3 года назад
tbh sir i love the way you explain it to me ... i wish you would share your knowledge to us
@Techsithtube
@Techsithtube 3 года назад
Thanks a ton
@duelgamerz2666
@duelgamerz2666 3 года назад
excellent explanation of the topic
@Techsithtube
@Techsithtube 3 года назад
Glad it was helpful Ruchika! Thanks for watching!
@felipemenesesdittel6799
@felipemenesesdittel6799 3 года назад
THANKS!
@nima_hkh
@nima_hkh 4 года назад
I really appreciate you. Thanks a lot
@Techsithtube
@Techsithtube 4 года назад
You are very welcome! Thanks for watching!
@nadaing
@nadaing 2 года назад
alright techsith, I get it and I did learn something new, thank you. it reminds me of some Logic problems I've looked at before... but I can't help to wonder (as a new programmer) why? why so much sweet number logic? Wasn't binary enough in the first place? also, I'll gladly translate your video to spanish if nobody has already.
@riyastir
@riyastir 3 года назад
It's very useful
@Techsithtube
@Techsithtube 3 года назад
Glad you think so!
@TheCodingOdyssey
@TheCodingOdyssey 3 года назад
would have been nice to see some applications as well, if one just sees how something works, but no real world application, one is bound to forget it. Thanks for the video though!
@hamidrezakazemi7746
@hamidrezakazemi7746 4 года назад
thanks
@sumitmobiotics3161
@sumitmobiotics3161 4 года назад
thanks for your video. create a video about how to create mini project , with good coding style with vue js
@ArjunSingh-oo1mh
@ArjunSingh-oo1mh 4 года назад
concept is clear no doubt, can you please give a real world example or any algorithm where we can use it. Thanks
@Techsithtube
@Techsithtube 4 года назад
Arjun , here is a huge list of algorithms that you can solve using bitwise operators. www.geeksforgeeks.org/bitwise-algorithms/
@bikisaha2992
@bikisaha2992 4 года назад
Hi! please help me to convert this array var [-1, 0, 12, 5, -23] to [1, 0, -12, -5, 23] without using loop.
@saienrique
@saienrique 3 года назад
Can u pls give more real world examples in javascript for this
@subham-raj
@subham-raj 4 года назад
*If you are a competitive programmer then you will know about this*
@Daniel_WR_Hart
@Daniel_WR_Hart 3 года назад
I've seen leetcode solutions where they did some kind of black magic using |
@maskman4821
@maskman4821 4 года назад
The best example is to tell an odd or even number : getEvenOrOddNumber(68) // output : 68 is Even number getEvenOrOddNumber(73) // output : 73 is Odd number function getEvenOrOddNumber(num) { let temp = num & 1 ? true : false if (temp) console.log(`${num} is Odd number`) if (!temp) console.log(`${num} is Even number`) }
@Techsithtube
@Techsithtube 4 года назад
Stephen, thanks for sharing , this is a great example.
@dtho6231
@dtho6231 3 года назад
@@Techsithtube I always use these whenever making a card or board game. You can have the first for bits represent the value and the last 4 the suit. They are really useful whenever you want to encode anything. It is actually faster and way easier to manipulate then making any type of object or something similar a shame people really underestimate just how useful and imo better using bitwise operators are to encode things like cards, gameboards, and many other things.
@diwakarprasad2835
@diwakarprasad2835 4 года назад
Other than video tutorials what will be the best websites to learn javascript and new features ofJavascript?
@Techsithtube
@Techsithtube 4 года назад
mozilla has a great archive called mdn , it can get bit complex but its a great place to learn js.
@GaneshKumar-fv2cg
@GaneshKumar-fv2cg 4 года назад
SIr - Please post on GraphQL if possible
@Techsithtube
@Techsithtube 4 года назад
Ganesh, Yes I am actually focused on graphQL recently. Will creating tutorials on it soon. Thanks for the suggestion.
@yqang2904
@yqang2904 4 года назад
Lol. You could have put in the correction earlier. I was staring at the '&' and trying to see how is that different from the AND operator '&'
@Techsithtube
@Techsithtube 4 года назад
YQ, after I edited the video I realize the mistake, I am glad that I caught it while reviewing it . I hope It was clear after the correction. sorry about that.
@yqang2904
@yqang2904 4 года назад
@@Techsithtube that is alright. I just had a good laugh
@loveneetsingh820
@loveneetsingh820 4 года назад
i am stuck on server-side rendering can anyone help me?
@rajabmuhamedrajab5128
@rajabmuhamedrajab5128 3 года назад
left shift And Right shift
@olehsavchuk
@olehsavchuk 4 года назад
The tons of application of this complicated subject is left untold. Will not bother learning bitwise operators. On interview will say it's out of scope of real world application and ask to explaine one if interviewer will dissagree.
@nareshbhati7527
@nareshbhati7527 3 года назад
Very basic tutorial, not mentioned the real use cases of these.
Далее
Javascript Closure tutorial ( Closures Explained )
12:52
ГЕНИИ МАРКЕТИНГА 😂
00:35
Просмотров 1,4 млн
▼ОНИ ЩУПАЛИ МЕНЯ 👽🥴
32:00
Просмотров 589 тыс.
Bitwise Operators and WHY we use them
8:41
Просмотров 59 тыс.
JavaScript Beginners Tutorial 12 |  Bitwise Operators
10:23
Learn React Hooks: useMemo - Simply Explained!
13:41
Просмотров 75 тыс.
javaScript call apply and bind
15:23
Просмотров 355 тыс.
5 New AI Tools You Should Try
9:18
Просмотров 8 тыс.
8 Must Know JavaScript Array Methods
10:05
Просмотров 1 млн
Learn DOM Manipulation In 18 Minutes
18:37
Просмотров 1 млн
The Basics of Strings! [Pt 5] | C# for Beginners
9:53
How charged your battery?
0:14
Просмотров 2,6 млн
Pratik Cat6 kablo soyma
0:15
Просмотров 8 млн
ПК с Авито за 3000р
0:58
Просмотров 1,5 млн
wyłącznik
0:50
Просмотров 23 млн