Information from the slides Slide Information Data -“Inside a computer’s world, there is only data[…]” - P. 11 -All data stored on a computer is by bits. Two valued things 0s and 1s Binary Digits -So anything you want the computer to know or save, ultimately gets interpreted or converted to bits -So if we want to type 13 in a word document and save it… 00001101 0 0 0 0 1 1 0 1 128 64 32 16 8 4 2 1 Values -Separating bits in chunks -Every value has a type -To create a value, just invoke its name -Let x = 5; Types in Javascript Number -Numeric values -A numeric value of 13 will cause the bit representation of that number to be saved into memory on the computer -64 bits to represent a single number value -2^64 possibilities -No all whole numbers less than this fit -Some bits will store the sign, others the decimal -Whole numbers can be precise, fractional..unfortunately not Operators in Javascript -+, -, *, /, % -Modulo is an operator that results in whatever is remaining after division -4 % 2 = 0 So 2 goes into 4, two times, with 0 left over -16 % 5 = 1 5 goes into 16, three times with 1 remaining Special numbers Infinity -Infinity NaN (still a typeOf Number) Will get this when s calculation does not yield a meaningful result Strings -Used to represent text `Hello` ‘Hello’ “Hello” -Modeled as a series of bits, just like numbers Unicode Number is assigned to every character 16 bits per string element -Escape Characters \t \” -Concatenation + Combines two strings together “con” + “cat” will yield “concat” Be mindful of spaces when you concatenate… -Template Literals `half of 50 is ${50/2}` Injecting javascript Result is computed, converted to a string, and included at that position Unary Operators -Uses one value -Written as words -Example: typeof operator Console.log(typeof 4.5) Yields number -(-) can be both a unary and binary operator Boolean Values -True/False -==, ===, !=, !==, ,= -Numbers are not the only things that can be compared -Console.log(“Aardvark” < “Zoroaster”) true So javascript compares letter by letter If first character’s Unicode value is less than or greater than the second, we are finished If characters are the same, then we move to the second If both strings end at the same length, then they are equal, otherwise the longer string is greater. Logical Operators -And && True only if values on both sides of it are true -Or || True if value on just one side is true -Not ! Flips the value given to it !true = false -Precedence || - && - comparison operators Empty Values -Null and undefined Absence of a meaningful value Carry no information Some operations will yield an undefined Not a huge difference between these two Automatic Type Conversion -Type coercion JS will convert that value to the type it needs. When an operator is applied to the wrong value -Console.log(8*null) --- 0 -Console.log(“5”-1) --- 4 -Console.log(“5”+1) --- 51 -Console.log(“five”*2) --- NaN -Console.log(false == 0) --- true -== when types differ on both sides JS will try and convert one of the sides to the other side’s type -When null or undefined, only will produce true of both sides are null or undefined -===, !== Used to check precisely true, no type coercion 0 == false will be true 0 === false will be false Short Circuiting of Logical Operators -|| will return the value to its left when it can be converted to true, else it will return the value to its right -&& works in the opposite way Returns the value to its left it can be converted to something false Else it returns the value on the right -True || X X will never be evaluated in this case -False && X Opposite in this case, X not evaluated because False on the left hand side Same as doing if(false) {X}
@khempaneru98244 күн бұрын
Please complete this book . Your videos are really amazing !
@Abulkhair199511 ай бұрын
this is the most appreciated way to learn JS stright from the book ......
@MarquisDeSade415 Жыл бұрын
thank you for the videos, please keep it up. I am starting with eloquent Javascript but I will defensively go back to watch most books.
@chee_tash Жыл бұрын
Absolutely, I just finished with Chapter 6, might take a small break and also start doing videos about the Clean Coder by Robert Martin.
@MusicsFree2 жыл бұрын
That is Amazing book, so I'm looking any teacher for learning this so finally I found my instructor of eloquent JavaScript, Thanks for this series, I will complete this series with absorb there their Concepts InshaAllah i will easily now!! 😊👌👍
@abuhanzla405811 ай бұрын
Plz complete this book! ❤
@amanikanezamulume320 Жыл бұрын
I need this. This is big help for me. I can be working while listening to your audio. Thank you bro 🙏 🙌 kindly finish the whole book 📖
@chee_tash Жыл бұрын
Thank you for your kind words. I really should get back to this book, I have been so focused on some other books I've been doing for the channel that its been hard to find time. I will do my best though!
@abukarzidii47743 жыл бұрын
Asc teacher, I am one of the students attached to our lessons. Many Somali students are with you. my Neme Abukar Mohamed Mohamud somalia JUST University 🇸🇴🙏😍🇸🇴
@chee_tash3 жыл бұрын
Much love! Thank you so much. I try to do my best with the videos, if anything is ever unclear I will do my best to clarify
@therealdeal2247 Жыл бұрын
Was gonna read the book but this is way better! Thanks man!
@chee_tash Жыл бұрын
Absolutely, I hope to become better with time in presenting this information. Check out the book "Clean Code" that I am doing videos for right now as well and let me know what you think
@TalsonHacks3 жыл бұрын
Gonna be an epic series!
@chee_tash3 жыл бұрын
I apologize for not doing a video on this series in a while. Ive been focused on 1984 right now, hopefully soon I can get a new JS video up...
@TalsonHacks3 жыл бұрын
@@chee_tash I've read the book few months ago, it deserves a series itself xD.
@chee_tash3 жыл бұрын
@@TalsonHacks Hold me to it, I will have another JS video out by the end of this weekend. O totally, I started doing videos on 1984 as well if you are interested!
@chee_tash3 жыл бұрын
New Episode! :) kzbin.info/www/bejne/aYSrfmVtfJJqqZY
@shanegeary62052 жыл бұрын
Thank you for doing this! Please keep them coming.
@myam75411 ай бұрын
Thank you for this! Subscribed!
@sanapraise-hg4ed Жыл бұрын
please complete the book, i appreciate your work
@Babayaga-i2t Жыл бұрын
You doing a great work ❤❤
@yourneedsmet Жыл бұрын
Thank you!!! So excited
@saadsakib94638 ай бұрын
Very nice job bro 👏💯❤️
@Rakeshsingh-gx2ok2 ай бұрын
please complete the book
@elenac.3750 Жыл бұрын
Great series! thanks for sharing this!
@chee_tash Жыл бұрын
Thank you for listening to it! I just started a series on the book "Clean Code" as well if you are interested
@amnasaghir791 Жыл бұрын
It's very helpful Thank you ❤
@northstarcode86753 жыл бұрын
Great content. Thank you.
@joydebnath2658 Жыл бұрын
💖take love
@harshnaik69899 ай бұрын
This is awsome
@BavneetKaurSekhon9 ай бұрын
please complete this book 🙂🙂
@Ricebow112 жыл бұрын
Hello, jw, I really like the read along since I'm not great at it and tends to fall asleep. In your channel, srw the book video from start to finish?
@chee_tash2 жыл бұрын
Hey thank you so much for watching! Sorry, I don't quite follow, reading the book you mean?
@Ricebow112 жыл бұрын
@@chee_tash what I meant to ask was, is your book reading from chapter 1 to ending?
@chee_tash2 жыл бұрын
@@Ricebow11 o ok gotcha! It kind of started off like that going through entire chapters. Lately though, I have been trying to do videos on one specific topic of JS.
@aadil14744 ай бұрын
❤ from India🇮🇳🇮🇳🇮🇳🇮🇳🇮🇳🇮🇳
@ankitkumain3 жыл бұрын
Is there any link from where i can get that ppt?
@chee_tash3 жыл бұрын
Thank you for your message. Happy Thanksgiving! Ugh I have not figured out a good way to do this! One thing I did in the most recent JS videos that had a PPT, I posted the text version in the description. I can totally do that for this video. I can try to get that updated tomorrow/over the weekend
@chee_tash3 жыл бұрын
I actually found some time today to post the powerpoint info in the description to the video. I know its not 100% the same, but for now this is the best I can do. I appreciate you listening and tuning in. Let me know if you have any questions!
@ankitkumain3 жыл бұрын
@@chee_tash Hi Chris, First of all Happy Thanksgiving. Thanks for adding the ppt material. PS - You can add the notes in notion and provide its link or you can add ppt to a google drive and provide the links. But this is just a suggestion it's upto you to consider it or not. I love your content. Lots of love.
@chee_tash3 жыл бұрын
@@ankitkumain o my gosh thank you so much for these suggestions! I am going to look into them. Yea these sound better than my current method 😅
@adejuyitansamuelolusegun Жыл бұрын
Please you didn't lay more emphasis on the remaining chapters, can you please do?
@YadavMohansingh-r6nАй бұрын
😊
@daniemedia11 ай бұрын
this book is surely not for a newbie 😅
@daniemedia11 ай бұрын
it has been kicking my butt for months
@chee_tash11 ай бұрын
Yea the book is written in a certain way that I also find hard to follow sometimes and have to utilize other resources to help explain things