Consider following code snippet:

function f(a,b,c) { }
var arr = [,,,];
console.log(arr.length);
console.log(f.length);
What will be printed to the console?

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
JavaScript quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes