logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git

ConstArrayAccess.as (344B)


  1. // input: []
  2. // output: 4
  3. package {
  4. public class ConstArrayAccess {
  5. private static const x:int = 2;
  6. private static const ar:Array = ["42", "3411"];
  7. public static function main():int{
  8. var c:ConstArrayAccess = new ConstArrayAccess();
  9. return c.f();
  10. }
  11. public function f(): int {
  12. return ar[1].length;
  13. }
  14. }
  15. }