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-Prof3ssorSt3v34 жыл бұрын
Thanks. Appreciate that. Also appreciate any sharing of the videos that you do.
@benronkin42995 жыл бұрын
Very helpful. I finally understand JavaScript bitwise operations and their applications. Thank you!
@rotrose75314 жыл бұрын
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.
@RedEyedJedi4 жыл бұрын
By the way the code you were looking for is (2).toString(2);
@adicide90703 жыл бұрын
explain, please, what wrapping the literal in parens does in terms of js syntax--
@KL4NNNN4 жыл бұрын
Wonderful explanation. Totally opened my mind on binary numbers which I always kept myself far away from.
@galex230322 жыл бұрын
Once more Proessor Steve, your explanations are straight to the point and always very helpful....thanks a million
@rotrose75314 жыл бұрын
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.
@eminqasimov33985 жыл бұрын
Tricky way. I learnt from you, let log =console.log. 😄😄😄 So simple,
@pauloheres11 ай бұрын
amazing video. really really awesome! Thanks
@darkwarrior-30006 жыл бұрын
great video steve. wow Bitwise can be usefull :D thumbs up
@annafalvello81382 жыл бұрын
thank you for this video!
@chesterxp5083 жыл бұрын
Another very cool tutorial !!!
@matheusbalao26543 жыл бұрын
Awesome tutorial, ty
@ciprianparaschiv7591 Жыл бұрын
Just wow.
@eminqasimov33985 жыл бұрын
2..toString(2) add two dots because toString assumes that it is a float number.
@pashabiceps954 жыл бұрын
the space will do the trick: 2 .toString(2);
@aljunmontebon60625 жыл бұрын
@Steve Griffith nice video thanks, do you know how to code 2's complement in hexadecimal ? by using javascript ? Thank You
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
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);
@aljunmontebon60625 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 thank you very much for the help dude. Hehehe