Consider the following code snippet function printprops(o) { for(var p in o) console.log(p + ": " + o[p] + "n"); } What will the above code snippet result ?
Consider the following code snippet function printprops(o) { for(var p in o) console.log(p + ": " + o[p] + "n"); } What will the above code snippet result ? Correct Answer Returns undefined
Answer: Option 2
The above code snippet returns undefined.
মোঃ আরিফুল ইসলাম
Feb 20, 2025