package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var list:Array = [34, 45, 57];
trace(list.length); // Displays: 3
var words:Array = ["this", "that", "the other"];
trace(words.length); // Displays: 3
var cards:Array = new Array(24);
trace(cards.length); // Displays: 24
}
}
}
|