public dynamic class MyArray extends Array { public function MyArray(...args) { super(); super.push.apply( null, args ); } }