What will be the output of this javascript code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What will be the output of this javascript code?

Javascript https://code.sololearn.com/W044p4011oA6/?ref=app

2nd Sep 2022, 5:08 PM
Mohd Junaid
4 Answers
+ 2
No output until you declare the variables.
2nd Sep 2022, 7:05 PM
Chris Coder
Chris Coder - avatar
+ 1
You need to define the variables and then console log the results or insert it into your html. It's really a very incomplete code
3rd Sep 2022, 6:58 AM
Jason Kennedy
0
This is the output: Uncaught ReferenceEror: a is not defined. Line: 1 Hope this helps xD
2nd Sep 2022, 5:36 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
0
You need to assign value and declare the variables. Otherwise, it'll show ERROR!!! Follow this: https://code.sololearn.com/WUDTnRsq63Ar/?ref=app
4th Sep 2022, 7:57 AM
⛈️𝕾𝖚𝖒𝖆 𝕭𝖆𝖘𝖆𝖐❄️
⛈️𝕾𝖚𝖒𝖆 𝕭𝖆𝖘𝖆𝖐❄️ - avatar