MCQs>IT & Programming>Actionscript 3>What's the output? var myArray1 : Array = new Array ('One', 'Two', 'Three'); for(var i : int=0; i<3; i++) { delete myArray1[i]; } trace(myArray1.length);
Actionscript 3 MCQs
What will be the output of the following code snippet?
var myArray1 : Array = new Array ("One", "Two", "Three");
for(var i : int=0; i<3; i++)
{
delete myArray1[i];
}
trace(myArray1.length);
Answer
Correct Answer: 3
Explanation:
Note: This Question is unanswered, help us to find answer for this one