In JavaScript, true is treated as 1 when used in arithmetic operations. So, 3 + true becomes 3 + 1, which equals 4. If you try console.log(3 + false);, it would output 3 because false is treated as 0.
Hey apna college. Sraddha ji ap javascript ka tutorial course ki video bana kar dalo n ap class lo beacose apki avaj sunne me achhi lagti h jis vajah se samajh me achha ata h . ..........thankuuuu apna college..❤
Console.log(3 + true ); Here true is a Boolean value So Javascript automatically converts boolean value to a number and it can be considered as 1. So the answer must be 1
Coding is not just typing
It is problem solving ❤
I have seen you in code with Harrys python course 😂
😂😂@@rupamdutta7963
wth? it create problems more than solving them
First time mujhe itne jaldi kuchh samjh aa gya 😂😂
Us moment bro😂😂
this is the first question that I got right ..😂😂😂😂
🤣Yeah bro me too
Us hogya bhaiiii
Me too 😂😂
Me also bro 😂
Haha same
Ma'am aapke padhane ke tarike se, bore hone ka sawal hi ni ❤❤❤❤🥰
*"मेहनत अगर आदत बन जाए तो कामयाबी मुकद्दर बन जाती हैं.,........!!*
जय हिंद मैंम,राधे राधे❤🔥🇮🇳
Hare Krishna
Very nice bahut acchi
I'm first year student c padh rahe hai lekin shraddha didi me ye kitne easily explain karke bataya 😫❤️
Konse college me hai
Kya problem aa rahi hai bhai 😊
@@srshehzada2915 bhai mujhe to maths me dikkat aarhi hai programming me nhi
@@bhishek_ Aap kahan se ho!! GP sir ko jante ho kya aap unse padhiye wo aacha padhate hai maths
@@srshehzada2915 Gajendra purhoit sir ?
...till then keep learning and keep exploring
Please make one short video of javascript
Bhai ke baat sach bta raha hu .
Inke chennal per ...
Me padhne aata hu lekin . Madhosh ho jaata hu..🙃
thanks for sharing 🤗
Keep learning and keep exploring
..🤩🤩
In JavaScript, true is treated as 1 when used in arithmetic operations.
So, 3 + true becomes 3 + 1, which equals 4.
If you try console.log(3 + false);, it would output 3 because false is treated as 0.
ऐसे और वीडियो बनाए।
दीदी 😊
Thanks Didi❤
Thanku
Thankuhhh mam ❤❤
nice explanation
Dimag bhi computer ban jaiga coding sikhte²😂
Ultimate
Thank you
Thanks
😮 great
Thnx U
Very interesting
This was easy question
Please make More questions like this on js
De bhut shukriya hindi mai video bnany k liye keep it up
🎉🎉🎉
please make a complete video on js series for beginners ✨
🎉🎉
Bahut accha
Please add all videos of c programming interviews in one playlist
Please
Iska hi to intjar tha
Thanks ❤
👏
4 = Bcz true is truthy value and true means 1 in logical and false is 0 .
So 3 + true = 3+1= 4
👍
kindly one shot video of JavaScript
Nice 🙂
Aaj first time right answer bataya Maine ❤😊
Agar coding interviews me itne aasan sawal puchte to kya hi baat hoti. Vo log to seedha dynamic programming puchte hai.
Ma'am please JavaScript par ek shot video bana do I learnt Html CSS from your one shot videos it was so helpful please make a one shot on JavaScript
Hey apna college. Sraddha ji ap javascript ka tutorial course ki video bana kar dalo n ap class lo beacose apki avaj sunne me achhi lagti h jis vajah se samajh me achha ata h . ..........thankuuuu apna college..❤
Wow nice 😍
Thank you so much Didi..🙂
👏👏👏
Mam or bhi aese hi question video nikalo na .... JavaScript or css html
❤❤
Didi can you please make more question like
It's not only applicable for js
Think u it is usefull ❤
Thanks mamm for you support ❤👍🏻😶🌫️
yes didi bakikisi ki smjh ni ati u r the best
Nice
Thank u it's the same problem last time I faced in interview
Didi plzz javascript ka oneshot banao...plzzz di....mujhe bakiyoon se padnemein maza nahi aarah ab ❤
thanks mam definetily i will be placed at google
Bro maine solve kar diya 🎉
Js ke basis pade ke 😮❤
Thanks didi 😊🥰
😊
I just have started learning Java script, and this was my first question that I have solved. It felt amazing.😂🎉
😮😮
❤
JAVASCRIPT ka one short full video digiye plz❤
Didi plzz make a video on how to understand e-commerce topic
Thanks di you are really a very greatest girl
Thanks didi
Absolute
Got right for the first time 🎉❤
❤❤❤❤❤❤❤❤❤❤
Console.log(3 + true );
Here true is a Boolean value
So Javascript automatically converts boolean value to a number and it can be considered as 1.
So the answer must be 1
Koi ek long video banaiye na is type questions ke bahut maza ayega 👍.
Will definitely crack all interviews.
Commerce student hun bs mam ki beauty dekhne ke liye subscribed hun🥹❤️🔥
Easy🧑💻
Javascript one shot video banav ji plz plz plz... aur React bhi... plz plz plz
I solved it
Thank you di❤
4😮
i guessed right
true = 1
3 3+1=4
Console(3+1) print 4
Aapke earring bht top h !!
As a maths expert i see it as an absolute win😂
5
4
Mam please make one shot on javascript
Mera sahi ho gya 😀😀
Please JavaScript in one shot
Requesting that please do a vidioes in English or English channel
Mam I was just scrolling shorts and found this 😂
I am right 😊
First question that i solved 😊😂
Thankyou didi...❤
4 answer
First time me
Samajh aaya😂
Mam please next time were a mask so that I can focus on coding and your teaching...!😅😅
muja aa geya tha
Please make a one shot video of java script
It is called "Type Coercion "