Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Find output of below code var a = '20'; var b = a = 30; document.write(a+b);
Home
JavaScript
Find output of below code var a = '20'; var b = a = 30; document.write(a+b);
0
votes
asked
Oct 9, 2022
in
JavaScript
by
Robin
Find output of below code
var a = '20';
var b = a = 30;
document.write(a+b);
a) Error in Script
b) '20'30
c) 2030
d) 50
javascript
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 9, 2022
by
Robin
Answer:- D
reason:- No explanation.
Related questions
0
votes
Q: What if we put ++ operator inside if condition? find the output of below code <script> var a = 10; if(a == a++) document.write(a); </script>
asked
Oct 9, 2022
in
JavaScript
by
Robin
javascript
code
0
votes
Q: Find output of below Javascript addition code document.write("1 plus 1 is " + 1 + 1);
asked
Oct 9, 2022
in
JavaScript
by
Robin
javascript
code
0
votes
Q: What is the output of following Javascript? var a = 'letsfind'; var b = 'course'; var c = a/b; document.write(c);
asked
Oct 9, 2022
in
JavaScript
by
Robin
javascript
code
0
votes
Q: What is the output of 10+20+"30" in JavaScript?
asked
Jun 9, 2022
in
JavaScript
by
sharadyadav1986
javascript
function
0
votes
Q: How ++ works in Javascript? Find output of below Javascript code.
asked
Oct 9, 2022
in
JavaScript
by
Robin
javascript
code
operator
0
votes
Q: Consider the code snippet given below var count = [1,,3];
asked
Oct 8, 2022
in
JavaScript
by
rajeshsharma
code-snippet
javascript
0
votes
Q: What will be the output of the following Javascript code?var string1 = "Letsfindcourse"; var intvalue = 30; alert( string1 + intvalue );
asked
Oct 10, 2022
in
JavaScript
by
SakshiSharma
javascfript
code
0
votes
Q: Which of these is a correct output for the JavaScript code given below?
asked
Dec 1, 2022
in
JavaScript
by
john ganales
javascript
0
votes
Q: What is the output of below Javascript code? alert (typeof new Date() );
asked
Oct 9, 2022
in
JavaScript
by
Robin
javascript
code
0
votes
Q: Find out the correct output of the following given piece of code from the given options:
asked
Mar 20, 2021
in
JavaScript
by
sharadyadav1986
javascript
javascript-output
...