A
Q. The output for the following code snippet would most appropriately be
var a=5 , b=1
var obj = { a : 10 }
with(obj)
{
alert(b)
}
- Correct Answer - Option(C)
- Views: 8
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.