JavaScript ARITHMETIC OPERATORS in 8 minutes! ➕

preview_player
Показать описание
00:00:00 arithmetic operators
00:03:21 augmented assignment operators
00:04:54 increment/decrement operators
00:05:23 operator precedence
00:07:51 conclusion

// arithmetic operators = operands (values, variables, etc.)
// operators (+ - * /)
// ex. 11 = x + 5;

let students = 30;

//students = students + 1;
//students = students - 1;
//students = students * 2;
//students = students / 2;
//students = students ** 2;
//let extraStudents = students % 3;

//students += 1;
//students -= 1;
//students *= 2;
//students /= 2;
//students **= 2;
//students %= 2;

//students++;
//students--;

/*
operator precedence
1. parenthesis ()
2. exponents
3. multiplication & division & modulo
4. addition & subtraction
*/
Рекомендации по теме
Комментарии
Автор

// arithmetic operators = operands (values, variables, etc.)
// operators (+ - * /)
// ex. 11 = x + 5;

let students = 30;

//students = students + 1;
//students = students - 1;
//students = students * 2;
//students = students / 2;
//students = students ** 2;
//let extraStudents = students % 3;

console.log(students);

//students += 1;
//students -= 1;
//students *= 2;
//students /= 2;
//students **= 2;
//students %= 2;

//students++;
//students--;

/*
operator precedence
1. parenthesis ()
2. exponents
3. multiplication & division & modulo
4. addition & subtraction
*/

BroCodez
Автор

Because of you, now I simply love programming, without you I would just keep playing and not create such things. Thank you very much :)

MikitaYT
Автор

Better than every JavaScript course I took!

jankarl
Автор

Such a helpful video to refresh my knowledge. This is better than the course i took. Great vid!

Cocodrillo
Автор

you are genius. I love your content .❤

SamirNeupaneChhetri-cqwb
Автор

thumbnail : rizz++
me : rizz++
"why isn't that working"

RandomGuyOnDaFreakingNet
Автор

Bro you are the best teacher I have ever seen I learn lots of things from you, you know Albert Einstein has something he called the biggest blunder of his life, I think you've got your biggest blunder of your life in this video, Do you really need calculator for 2**7 ? we know 2**16 = 65535 2**15 = 32728 ... 2**8=256, ,, 2 ** 7 =127 these numbers are what we know without using a calculator

xzex
Автор

Sensei ❤❤ please continue the js and react please if possible make a project on react

_sf_editz
Автор

You are the best teacher, thanks bro code

chibuezealaekwe
Автор

<*_> This is my seal. I have watched the entire video, understood it, and I can explain it in my own words, thus I have gained knowledge. This is my seal. <_*>

piotrmazgaj
Автор

bro never forgets to make the video exciting

abdulwahid-girx
Автор

Thanks, bro. You're a real bro 💪

helioobianchi
Автор

please could you add angular course !!! please ☺☺😊

anassbenomar
Автор

i think ill use vs code to do my homework, i mean its like a calculator but it looks cool

noicefrog
Автор

how 12 % 5 become = 2, I solve it and the last thing I found 2.4
please help me to understand this

medad
Автор

why is the thumbnail.... Not even askinf

ovibawovi