what will be the output? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 4

what will be the output?

Complete the following expression to display the "simba" object's "category" property on the screen: document.write(simba.______); Note: it should be, document.write(simba.category); but it is not working

10th Jul 2017, 5:15 AM
Rejaul islam Royel
Rejaul islam Royel - avatar
23 Answers
+ 5
You must write "category)" in the answer ;-)
11th Dec 2017, 7:46 AM
Tahir
Tahir - avatar
+ 2
Complete the following expression to display the "simba" object's "category" property on the screen: document.write(simba.category); answer: category)
10th Mar 2018, 3:51 PM
ODO EMMANUEL .E.
+ 1
I dont know much about javascript but I think that even if i knew it I wouldn't be able to answer because of the lack of detail. consider copy + pasting the whole ( or atleast the whole section) code.
10th Jul 2017, 5:19 AM
MassiveMayhem
+ 1
Not less “)”
26th Aug 2017, 1:09 PM
duoduo
duoduo - avatar
+ 1
Which means its not possible to get past it, unless there is something small we're leaving out, the closing parentheses ")"
25th Aug 2018, 8:53 AM
Kudzaishe T T Shoko
Kudzaishe T T Shoko - avatar
+ 1
category) don't forget this ')'
8th Aug 2022, 4:28 PM
Israa Rashed
Israa Rashed - avatar
0
I have the same problem....
15th Sep 2017, 11:23 PM
Dlear Sabah
Dlear Sabah - avatar
0
category )
14th Jan 2019, 1:50 PM
Aniss Lidya
Aniss Lidya - avatar
0
Complete the following expression to display the "simba" object's "category" property on the screen: document.write(simba.category);
23rd May 2020, 6:23 PM
Pramod Vishwakarma
Pramod Vishwakarma - avatar
0
category)
7th Jul 2020, 2:20 PM
Nikita Zholkovskyi
Nikita Zholkovskyi - avatar
0
category )
4th Oct 2020, 6:57 AM
Shaswat Dubey
Shaswat Dubey - avatar
0
document.write(simba.category); this is how the code is supposed to look like
29th Dec 2020, 9:08 AM
Irbaye
0
category)
8th Jan 2021, 6:29 AM
Vijayanathan Menakan
Vijayanathan Menakan - avatar
0
simple category)
9th Jan 2021, 8:43 PM
Priya Ghosh
Priya Ghosh - avatar
0
category)
8th May 2021, 12:38 AM
ROBERT O. ALABI
ROBERT O. ALABI - avatar
0
category)
21st May 2021, 6:56 PM
Adebisi Ola-Adebomi
0
category)
11th Aug 2021, 3:05 PM
W.G.A.C.Nandasena
W.G.A.C.Nandasena - avatar
0
Yes..its not working... { Simba. Category}
14th Oct 2021, 6:29 AM
Sandhya Shedage
Sandhya Shedage - avatar
0
category
13th Nov 2021, 2:13 PM
Sujood Mohammad
0
document.write(simba.category);
2nd Jan 2023, 9:41 PM
Hamdu Ali
Hamdu Ali - avatar