Programming Languages JavaScript Objective
Mar 04, 2013

What is the output of following JavaScript code?

<script type="text/javascript">

function x(z,t)

{

alert(x.length);

}

</script>

 

 

Choose the correct answer:
A) Error
B) 1
C) 2
D) 3
Detailed Explanation

Option C is the right answer.

Discussion (0)

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

Share Your Thoughts
Feedback