Login
Remember
Register
Q&A
Questions
Ask a Question
var i = 1; if (function f(){}) { i += typeof f; } x;
Home
>
Technology
>
var i = 1; if (function f(){}) { i += typeof f; } x;
0
votes
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
1.7m
points)
var i = 1; if (function f(){}) { i += typeof f; } x;
1) 1
2) undefined
3) Nan
4) Error
interview-question-answer
technology-questions-answers
Facebook
Twitter
LinkedIn
Email
Add Answer
1
Answer
0
votes
answered
Oct 9, 2020
by
JackTerrance
(
1.7m
points)
Answer:-undefined
Related questions
0
votes
1
answer
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
(
1.7m
points)
interview-question-answer
technology-questions-answers
0
votes
1
answer
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
(
1.7m
points)
interview-question-answer
technology-questions-answers
0
votes
1
answer
Anonymous functions can be created in JavaScript. What do anonymous function do?
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
1.7m
points)
interview-question-answer
technology-questions-answers
0
votes
1
answer
Function in JavaScript is an object. True or False ? False True
asked
Oct 9, 2020
in
Technology
by
JackTerrance
(
1.7m
points)
interview-question-answer
technology-questions-answers
0
votes
1
answer
var i = 1; if (function f(){}) { i += typeof f; } x;
asked
Feb 25, 2021
in
Technology
by
JackTerrance
(
1.7m
points)
interview-question-answer
technology-questions-answers
...