Interview Preparation Coding Interview Objective
May 09, 2013

What is the output of bellow JavaScript code?
<script type="text/javascript">
function x(z,t)
{
alert(x.length);
}
</script>

Choose the correct answer:
A) Error
B) 2
C) z
D) t
Detailed Explanation

Option B is the right Answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback