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
What is the output of following Javascript? var a = 'letsfind'; var b = 'course'; var c = a/b; document.write(c);
Home
JavaScript
What is the output of following Javascript? var a = 'letsfind'; var b = 'course'; var c = a/b;...
0
votes
asked
Oct 9, 2022
in
JavaScript
by
Robin
What is the output of following Javascript?
var a = 'letsfind';
var b = 'course';
var c = a/b;
document.write(c);
a) letsfindcourse
b) letsfind/course
c) NaN
d) None of the above
javascript
code
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 9, 2022
by
Robin
Answer:- C
reason:- The output of following Javascript is NaN.
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: Find output of below code var a = '20'; var b = a = 30; document.write(a+b);
asked
Oct 9, 2022
in
JavaScript
by
Robin
javascript
0
votes
Q: Which one of the following options is the correct output for the given code of JavaScript?
asked
Mar 23, 2021
in
JavaScript
by
sharadyadav1986
javascript
output
code
program
0
votes
Q: Which one of the following options is the correct output for the given code of JavaScript?
asked
Mar 23, 2021
in
JavaScript
by
sharadyadav1986
javascript
output
code
0
votes
Q: Which one of the following options is the correct output for the given code of JavaScript?
asked
Mar 23, 2021
in
JavaScript
by
sharadyadav1986
javascript
output
code
0
votes
Q: Syntax for creating a RegExp object: 1. var txt=new RegExp(pattern,attributes); 2. var txt=/pattern/attributes; Which of the above mentioned syntax will correct?
asked
Oct 9, 2022
in
JavaScript
by
Robin
javascript
code
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: How ++ works in Javascript? Find output of below Javascript code.
asked
Oct 9, 2022
in
JavaScript
by
Robin
javascript
code
operator
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
...