JavaScript Operators and Expressions | JavaScript Tutorial in Hindi #6

JavaScript Operators and Expressions | JavaScript Tutorial in Hindi #6

CodeWithHarry

2 года назад

850,248 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ani.._
@ani.._ - 18.01.2024 20:17

The answer is this
console.log("++a=" ,++a)
console.log("a++ = " , a++)
console.log("--a = " , --a)
console.log("a-- =" , a--)
console.log("a =" , a)
console.log("a-- =" , a--)

Answer=
11
11
11
11
10
10

Ответить
@devtomar8472
@devtomar8472 - 18.01.2024 11:55

❤❤ se Thank you 6

Ответить
@venom830
@venom830 - 17.01.2024 19:57

11
11
11
12
12
12

Ответить
@DevAhsanJamil
@DevAhsanJamil - 16.01.2024 18:28

a = 9 but prints 10 in last

Ответить
@mandirapal9151
@mandirapal9151 - 16.01.2024 08:54

console.log("a--",--a)

Ответить
@user-fv2cq9wz6p
@user-fv2cq9wz6p - 15.01.2024 14:13

10

Ответить
@sahuzee
@sahuzee - 15.01.2024 11:32

let a = 10;
let b = 4;
console.log("a+b" , a+b)
console.log("a*b" , a**b)
console.log(a/b ,"is valu of a divided by b")
console.log(a%b , "it is vau of a modulus b")
console.log(a++ , "a++")
console.log(++a,"++a")
console.log(a-- ,"a--")
console.log(--a, "--a")
console.log(a-b , "a-b")

Ответить
@priyanshutyagi_02001
@priyanshutyagi_02001 - 14.01.2024 13:06

Thankyou harry bhai❤

Ответить
@uchiha_itachi_953
@uchiha_itachi_953 - 13.01.2024 20:40

11
11
11
11
10
10

Ответить
@mohdrayees8919
@mohdrayees8919 - 12.01.2024 18:29

code:
console.log("Operators in JS:");
let a = 45;
b = 4;
console.log("a + b = ", a + b);
console.log("a - b = ", a - b);
console.log("a / b = ", a / b);
console.log("a * b = ", a * b);
console.log("a ** b = ", a ** b);
console.log("a % b = ", a % b);
console.log("a++ = ", a++);
console.log("a = ", a);
console.log("a-- = ", a--);
console.log("a = ", a)
console.log("++a = ", ++a);
console.log("a = ", a);
console.log("--a = ", --a);
console.log("a = ", a);

solution:
Operators in JS:
a + b = 49
a - b = 41
a / b = 11.25
a * b = 180
a ** b = 4100625
a % b = 1
a++ = 45
a = 46
a-- = 46
a = 45
++a = 46
a = 46
--a = 45
a = 45

Ответить
@sourabhmaity6285
@sourabhmaity6285 - 10.01.2024 13:52

10

Ответить
@chaudh8ry
@chaudh8ry - 08.01.2024 14:51

11
11
11
11
10
10

Ответить
@PegasusGaming09
@PegasusGaming09 - 06.01.2024 11:34

9

Ответить
@AbbasAli-bd6lq
@AbbasAli-bd6lq - 03.01.2024 12:59

Operators in Js
a + b = 14
a - b = 6
a / b = 2.5
a * b = 40
a ** b = 10000
--a = 9
a-- = 9
a++ = 8
++a = 10

Ответить
@user-fs5re6ri2m
@user-fs5re6ri2m - 03.01.2024 10:21

11
11
9
9
10
9

Ответить
@garagebeast8843
@garagebeast8843 - 03.01.2024 09:04

10 10 11 11 11

Ответить
@mdfaizan6586
@mdfaizan6586 - 02.01.2024 21:16

Comment section me koi hai kya mere jaisa jo web app pen test k liye js understand kr raha hai plzz reply 😂

Ответить
@devs.aaad01
@devs.aaad01 - 01.01.2024 11:53

The answer: 9

Ответить
@sunitagangwar8002
@sunitagangwar8002 - 31.12.2023 13:12

11 , 11 value is 12 , 11 , 11 value is 10 , 10 , 10 but value is 9

Ответить
@atifwattoo1719
@atifwattoo1719 - 30.12.2023 15:52

11 11 11 11 10 10

Ответить
@RakeshSharma-xi6yc
@RakeshSharma-xi6yc - 29.12.2023 16:33

Sir yeh video kaafi blurred hai output kya likhein hum

Ответить
@user-cr1ke2ml6h
@user-cr1ke2ml6h - 28.12.2023 06:23

wah maza agya assiduous mind with brilliant skills

Ответить
@sahilchabra3006
@sahilchabra3006 - 27.12.2023 21:07

11
11
11
11
10

Ответить
@gauravverma54
@gauravverma54 - 27.12.2023 19:13

a++=10 ++a=11 --a=9 a--=10

Ответить
@AdityaSharma-er3gs
@AdityaSharma-er3gs - 26.12.2023 07:15

output
11
11
11
11
10
10

Ответить
@DevikaAnand-zs9ws
@DevikaAnand-zs9ws - 25.12.2023 09:22

Harry bhai, apjab ye bolte ho na ki "tum sochoge ki kya bacho wali cheeze padha raha hu but will raise the bar like anything"
Honestly Harry bhai apka sabse zayada crowd he wo log hain jo sab kuch starting se seekhna chahte hai.
Aap bilkul sahi ja rahe ho bhai, dil se Thank you:)

Ответить
@heenasharma7462
@heenasharma7462 - 24.12.2023 08:48

Inke source code kese milnge please anyone reply

Ответить
@muhammadsaleemrazamuhammad6115
@muhammadsaleemrazamuhammad6115 - 23.12.2023 15:07

video 6 I failed to open the console tab in replit

Ответить
@anishkasoni3034
@anishkasoni3034 - 22.12.2023 01:05

11,11,11,11,10,10

Ответить
@yashverma7137
@yashverma7137 - 21.12.2023 21:47

11
11
11
11
10
10

Ответить
@SanaGhaffar-yv2ks
@SanaGhaffar-yv2ks - 21.12.2023 17:16

wah shirt bi coading wali

Ответить
@user-ol4hm8cu3g
@user-ol4hm8cu3g - 21.12.2023 16:25

console.log("a + b = ", a+b)

Ответить
@RehanPathan-3221
@RehanPathan-3221 - 20.12.2023 20:39

First Is a 11

Ответить
@mustafaayan1.0
@mustafaayan1.0 - 18.12.2023 15:04

Honestly im a beginner and got correct answers with different values of a and b , 😂

Ответить
@mehvishismail5347
@mehvishismail5347 - 17.12.2023 19:24

You are a great Teacher ♥♥ love from Pakistan

Ответить
@DevDEVIL__6480
@DevDEVIL__6480 - 17.12.2023 12:19

11
10
9
10
11
10

Ответить
@teamdragon4261
@teamdragon4261 - 17.12.2023 09:36

Hello Harry, The answer is : ++a= 46
--a 45
a++ 45
a-- 46

Ответить
@amratanshpandey3756
@amratanshpandey3756 - 17.12.2023 08:19

ghamand toh aisa karrah hai jaise java script ka course bana ke bachho ka accha pada raha hai

Ответить
@arbitrarystreamer2553
@arbitrarystreamer2553 - 15.12.2023 12:40

10
12
12
10
10

Ответить
@rizwanshoro3254
@rizwanshoro3254 - 15.12.2023 11:02

11

Ответить
@MELODY_music_MASTER_pop
@MELODY_music_MASTER_pop - 14.12.2023 19:03

I solved it as 10?

Ответить
@user-fz9hz1rf1b
@user-fz9hz1rf1b - 14.12.2023 16:38

Thanks a lot Harry Sir ..
For a pdf notes and youe Love ...❤💖💗💞

Ответить
@priyanshukataria4764
@priyanshukataria4764 - 13.12.2023 23:38

unable to download notes please help

Ответить
@akashupadhyay4848
@akashupadhyay4848 - 13.12.2023 18:42

a++=16
++a=18
a--= 18
--a=16

in this first a value is printed an there is increament
in the second line the initially value was increamented to 17 and again incremented
then it printed the value of a as 18 same as in all cases🙂🙂

Ответить
@lokeshbharambe5807
@lokeshbharambe5807 - 13.12.2023 18:40

let a = 22;
let b = 8;
console.log("a + b = ", a + b)
console.log("a - b = ", a - b)
console.log("a * b = ", a * b)
console.log("a / b = ", a / b)
console.log("a % b = ", a % b)
console.log("a ** b = ", a ** b)
console.log("++a = ", ++a)
console.log("a++ = ", a++)
console.log("--a = ", --a)
console.log("a-- = ", a--)
console.log("a = ", a)
console.log("a-- = ", a--)




Output:-

a + b = 30
a - b = 14
a * b = 176
a / b = 2.75
a % b = 6
a ** b = 54875873536
++a = 23
a++ = 23
--a = 23
a-- = 23
a = 22
a-- = 22



is it right sir?

Ответить