Guess the output 🔥

  Рет қаралды 2,852

Nisha Singla

Nisha Singla

Күн бұрын

Пікірлер: 17
@ranjithkumarm5687
@ranjithkumarm5687 6 ай бұрын
In JavaScript, when objects are used as keys in another object, they are implicitly converted to strings. So, b.toString() would return "[object Object]", and c.toString() would also return "[object Object]". Result, both b and c would be treated as the same key like "[object Object]". when used to access a. Therefore, the value of a[b] is 111 and the value of a[c] is 222.would be the last assigned value, which is 222 So the answer is 222
@ArpithaIndira
@ArpithaIndira 2 ай бұрын
Thank you 🙏 😊
@akbees235
@akbees235 5 ай бұрын
Error in assignment Properties of object cannot be access or assign using square brackets but periods(.)
@raj.blazers
@raj.blazers 6 ай бұрын
That’s y we ask you to shift to typescript to avoid writing crazy code like this😎
@deepdas7674
@deepdas7674 6 ай бұрын
222
@Vijayvijay-s8g8j
@Vijayvijay-s8g8j 6 ай бұрын
Const variable cannot be re-sign
@SaiKumar-tg6ct
@SaiKumar-tg6ct 6 ай бұрын
Here, variable is not reassigned, learn about primitive and referenced data types
@710krutanlakeshri5
@710krutanlakeshri5 6 ай бұрын
It is an object so it can be altered
@chunckyfreshnut
@chunckyfreshnut 6 ай бұрын
First thing who would actually write code like this and for what.
@avdsuresh
@avdsuresh 6 ай бұрын
The interviewer will ask these kinds of questions to get know candidates logical thinking and problem solving skills
@poornivaishu780
@poornivaishu780 6 ай бұрын
111
@LearnInTamilLiT
@LearnInTamilLiT 6 ай бұрын
222
@SaiKumar-tg6ct
@SaiKumar-tg6ct 6 ай бұрын
111
@kasturivivek8007
@kasturivivek8007 6 ай бұрын
222
@vallurichaitanyachari9563
@vallurichaitanyachari9563 6 ай бұрын
222
@aswina21
@aswina21 6 ай бұрын
222
@nareshvm-nf2fe
@nareshvm-nf2fe 6 ай бұрын
222
Should you get a Kindle or Kobo? ANSWERED!
20:26
Daniel Greene
Рет қаралды 146 М.
16 Algorithm Hacks To Grow Your LinkedIn In 2024
13:20
Mark Firth
Рет қаралды 65 М.
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,6 МЛН
Apple peeling hack @scottsreality
00:37
_vector_
Рет қаралды 129 МЛН
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 14 МЛН
LIFEHACK😳 Rate our backpacks 1-10 😜🔥🎒
00:13
Diana Belitskay
Рет қаралды 3,6 МЛН
React Interview Question Solution @NishaSingla
0:59
Nisha Singla
Рет қаралды 3,5 М.
Guess the output 🔥@NishaSingla
0:57
Nisha Singla
Рет қаралды 1,7 М.
I Stopped Using My Phone. The results were shocking
10:59
Nate O'Brien
Рет қаралды 494 М.
TOP 10 HIGHEST PAID LANGUAGES (Freelance Translator)
7:49
Freelanceverse - Adrian Probst
Рет қаралды 84 М.
Git Fetch vs Git pull @NishaSingla
1:14
Nisha Singla
Рет қаралды 1 М.
Meet The Kindles!  Comparing the 2024 Kindle Lineup
32:58
One Man Book Club
Рет қаралды 159 М.
React Interview Question @NishaSingla
0:59
Nisha Singla
Рет қаралды 2,1 М.
Comment Box 3 | Ma'am Are You Married ?
9:56
Jenny's Lectures CS IT
Рет қаралды 2,9 МЛН
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,6 МЛН