mirror of https://github.com/blackjack4494/yt-dlc
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
344 B
ActionScript
19 lines
344 B
ActionScript
10 years ago
|
// input: []
|
||
|
// output: 4
|
||
|
|
||
|
package {
|
||
|
public class ConstArrayAccess {
|
||
|
private static const x:int = 2;
|
||
|
private static const ar:Array = ["42", "3411"];
|
||
|
|
||
|
public static function main():int{
|
||
|
var c:ConstArrayAccess = new ConstArrayAccess();
|
||
|
return c.f();
|
||
|
}
|
||
|
|
||
|
public function f(): int {
|
||
|
return ar[1].length;
|
||
|
}
|
||
|
}
|
||
|
}
|