mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-11-04 03:33:46 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			384 B
		
	
	
	
		
			ActionScript
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			384 B
		
	
	
	
		
			ActionScript
		
	
	
	
	
	
// input: [1]
 | 
						|
// output: 2
 | 
						|
 | 
						|
package {
 | 
						|
public class MemberAssignment {
 | 
						|
    public var v:int;
 | 
						|
 | 
						|
    public function g():int {
 | 
						|
        return this.v;
 | 
						|
    }
 | 
						|
 | 
						|
    public function f(a:int):int{
 | 
						|
        this.v = a;
 | 
						|
        return this.v + this.g();
 | 
						|
    }
 | 
						|
 | 
						|
    public static function main(a:int): int {
 | 
						|
        var v:MemberAssignment = new MemberAssignment();
 | 
						|
        return v.f(a);
 | 
						|
    }
 | 
						|
}
 | 
						|
}
 |