Blogmepost
Latest Questions
Contact Us
var i = 1; if (function f(){}) { i += typeof f; } x;
Home
>
Technology
>
var i = 1; if (function f(){}) { i += typeof f; } x;
0
votes
53
views
var i = 1; if (function f(){}) { i += typeof f; } x;
1) 1
2) undefined
3) Nan
4) Error
#javascript
#carinsurance
#health-insurance
#medical-insurance
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
192k
points)
Add Answer
1
Answer
0
votes
Answer:-undefined
answered
Oct 9, 2020
by
JackTerrance
(
192k
points)
Related questions
0
votes
1
answer
209
views
209
views
What is the output for the following code (function f(){ function f(){ return 1; } return f(); function f() { return 2; } })();
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
#carinsurance
#health-insurance
#medical-insurance
0
votes
1
answer
54
views
54
views
What is the output of the following expression? function multi(x,y) { var c = x*y; } multi(20,3);
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
#carinsurance
#health-insurance
#medical-insurance
0
votes
1
answer
29
views
29
views
Anonymous functions can be created in JavaScript. What do anonymous function do?
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
#carinsurance
#health-insurance
#medical-insurance
0
votes
1
answer
29
views
29
views
Function in JavaScript is an object. True or False ? False True
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
#carinsurance
#health-insurance
#medical-insurance
0
votes
1
answer
17
views
17
views
var i = 1; if (function f(){}) { i += typeof f; } x;
asked
Feb 25
in
Technology
by
JackTerrance
(
192k
points)
javascript
0
votes
1
answer
38
views
38
views
FIbonacci Series Program function fibonacciSequence(input) { var a=0;b=1;c=0; var array1=[0,1]; for(var i=2;i<=input;i++) { c=a+b; a=b; b=c; array1.push(c) } return array1; }
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
+1
vote
2
answers
27
views
27
views
Code A: var x = 10; y = --x + 1; alert(y); Code B: var x = 10; y = x-- + 1; alert(y); What is the output for code A and B?
asked
Oct 8, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
0
votes
1
answer
64
views
64
views
What is the output you get for the following code? (function() { return typeof arguments; }) (); #insurance
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
#insurance
#loans
#credit
#gas
0
votes
1
answer
40
views
40
views
To retrieve the day of the month from the Date object, which is the code to select? var date_obj = new Date(2016,1,1);
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
0
votes
1
answer
124
views
124
views
What is the output for the following function test(x) { while(x < 5) { x++; } return x; } alert(test(2)); 6 3 2 5
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
#loans
#insurance
0
votes
1
answer
14
views
14
views
FIbonacci Series Program function fibonacciSequence(input) { var a=0;b=1;c=0; var array1=[0,1]; for(var i=2;i<=input;i++) { c=a+b; a=b; b=c; array1.push(c) } return array1; }
asked
Feb 24
in
Technology
by
JackTerrance
(
192k
points)
javascript
+1
vote
1
answer
121
views
121
views
isNan function returns ______ if the argument is not a number otherwise it is ______ ?
asked
Oct 8, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
0
votes
1
answer
38
views
38
views
The escape sequence ‘\f’ stands for
asked
Dec 24, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
0
votes
1
answer
15
views
15
views
Code A: var x = 10; y = --x + 1; alert(y); Code B: var x = 10; y = x-- + 1; alert(y); What is the output for code A and B?
asked
Feb 23
in
Technology
by
JackTerrance
(
192k
points)
javascript
+1
vote
1
answer
81
views
81
views
What is the value of C?var a = 100; var b = "10"; var c = a + b;
asked
Oct 8, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
0
votes
0
answers
32
views
32
views
Is the following a valid variable definition? var 100apples No Yes
asked
Oct 8, 2020
in
Technology
by
JackTerrance
(
192k
points)
#javascript
0
votes
1
answer
26
views
26
views
What is the output for the following code (function f(){ function f(){ return 1; } return f(); function f() { return 2; } })();
asked
Feb 25
in
Technology
by
JackTerrance
(
192k
points)
javascript
0
votes
1
answer
20
views
20
views
What is the output of the following expression? function multi(x,y) { var c = x*y; } multi(20,3);
asked
Feb 25
in
Technology
by
JackTerrance
(
192k
points)
javascript
0
votes
1
answer
22
views
22
views
Can I write some C++ function in same .m file? Will it compile? If no, what changes should I do to compile it?
asked
Nov 10, 2020
in
Technology
by
JackTerrance
(
192k
points)
#objective-c
0
votes
1
answer
16
views
16
views
What is “accident forgiveness”?
asked
Jan 31
in
Insurance
by
Editorial Staff
(
51.6k
points)
#accident-forgiveness
#medical-insurance
power-plant-interview-questions-answers
insurance
personal
accident
cover
auto-insurance
0
votes
1
answer
34
views
34
views
Which of the following function of String object causes a string to be italic, as if it were in an <i> tag?
asked
Dec 24, 2020
by
JackTerrance
(
192k
points)
java-script
0
votes
1
answer
69
views
69
views
Predict the output of the following JavaScript code. <script type="text/javascript" language="javascript"> var x=5; var y=6; var res=eval("x*y"); document.write(res); </script>
asked
Feb 27
in
Technology
by
JackTerrance
(
192k
points)
html5
html
0
votes
1
answer
30
views
30
views
Predict the output of the following JavaScript code. <script type="text/javascript"> var a="blogsforblog"; var x=a.lastIndexOf("b"); document.write(x); </script>
asked
Feb 27
in
Technology
by
JackTerrance
(
192k
points)
html5
html
0
votes
1
answer
29
views
29
views
What is the output you get for the following code? (function() { return typeof arguments; }) ();
asked
Feb 26
in
Technology
by
JackTerrance
(
192k
points)
javascript
0
votes
1
answer
19
views
19
views
What is the output you get for the following code? (function() { return typeof arguments; }) ();
asked
Feb 25
in
Technology
by
JackTerrance
(
192k
points)
javascript
...