No video

JS Bitwise Operators and Binary Numbers

  Рет қаралды 10,540

Steve Griffith - Prof3ssorSt3v3

Steve Griffith - Prof3ssorSt3v3

Күн бұрын

Пікірлер: 24
@RedEyedJedi
@RedEyedJedi 4 жыл бұрын
You seem to be the absolute master of zero dislikes. I watch a lot of tutorials on JavaScript from all sorts of amazing people but out of all of them you definitely get the least amount of dislikes because of how clear and concise your tutorials are. Top notch job Steve, thank you so much for the work and effort you put into every one of your videos. I always let your adverts run just so you get paid.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 жыл бұрын
Thanks. Appreciate that. Also appreciate any sharing of the videos that you do.
@benronkin4299
@benronkin4299 5 жыл бұрын
Very helpful. I finally understand JavaScript bitwise operations and their applications. Thank you!
@rotrose7531
@rotrose7531 4 жыл бұрын
I have to add that the latter part is significantly great, several years ago I tried and failed to automate background color based on some contrast on the main element. With teachings in this lecture, it seems the work can be done. Thank you.
@RedEyedJedi
@RedEyedJedi 4 жыл бұрын
By the way the code you were looking for is (2).toString(2);
@adicide9070
@adicide9070 3 жыл бұрын
explain, please, what wrapping the literal in parens does in terms of js syntax--
@KL4NNNN
@KL4NNNN 4 жыл бұрын
Wonderful explanation. Totally opened my mind on binary numbers which I always kept myself far away from.
@galex23032
@galex23032 2 жыл бұрын
Once more Proessor Steve, your explanations are straight to the point and always very helpful....thanks a million
@rotrose7531
@rotrose7531 4 жыл бұрын
Thank you for this nice tutorials, this opens me another door to use bizwise operator which I possibly would have never known if not for these explanations.
@eminqasimov3398
@eminqasimov3398 5 жыл бұрын
Tricky way. I learnt from you, let log =console.log. 😄😄😄 So simple,
@pauloheres
@pauloheres 11 ай бұрын
amazing video. really really awesome! Thanks
@darkwarrior-3000
@darkwarrior-3000 6 жыл бұрын
great video steve. wow Bitwise can be usefull :D thumbs up
@annafalvello8138
@annafalvello8138 2 жыл бұрын
thank you for this video!
@chesterxp508
@chesterxp508 3 жыл бұрын
Another very cool tutorial !!!
@matheusbalao2654
@matheusbalao2654 3 жыл бұрын
Awesome tutorial, ty
@ciprianparaschiv7591
@ciprianparaschiv7591 Жыл бұрын
Just wow.
@eminqasimov3398
@eminqasimov3398 5 жыл бұрын
2..toString(2) add two dots because toString assumes that it is a float number.
@pashabiceps95
@pashabiceps95 4 жыл бұрын
the space will do the trick: 2 .toString(2);
@aljunmontebon6062
@aljunmontebon6062 5 жыл бұрын
@Steve Griffith nice video thanks, do you know how to code 2's complement in hexadecimal ? by using javascript ? Thank You
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
The two's complement is calculated by inverting the digits and adding one. So, to invert the bits, use the Bitwise NOT operator ~ To add one we can use the Mathematical + operator. Then use the toString( ) method with the base set to 16. let num = 45; num = ~num; num += 1; let hex = num.toString(16);
@aljunmontebon6062
@aljunmontebon6062 5 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 thank you very much for the help dude. Hehehe
Logical Short-Circuiting in JavaScript
9:51
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 6 М.
Managing User Permissions with Bitwise Operators
16:17
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 7 М.
Мы сделали гигантские сухарики!  #большаяеда
00:44
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 7 МЛН
Looping and Recursion in JavaScript
12:09
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 8 М.
C bitwise operators 🔣
6:47
Bro Code
Рет қаралды 74 М.
ES5 Custom Object Methods, Getters, and Setters
9:49
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 12 М.
everything is open source if you can reverse engineer (try it RIGHT NOW!)
13:56
Low Level Learning
Рет қаралды 1,4 МЛН
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Understanding the Keyword THIS in JavaScript
13:59
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 9 М.
Bitwise Operators and WHY we use them
8:41
Alex Hyett
Рет қаралды 75 М.
Deep Dive into Blobs, Files, and ArrayBuffers
17:42
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 35 М.
why do header files even exist?
10:53
Low Level Learning
Рет қаралды 399 М.
JavaScript Unicode Characters and Escape Sequences
10:22
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 13 М.