ActionScript Comparing Arrays
        Posted  
        
            by TheDarkIn1978
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by TheDarkIn1978
        
        
        
        Published on 2010-05-22T23:43:43Z
        Indexed on 
            2010/05/23
            0:20 UTC
        
        
        Read the original article
        Hit count: 559
        
how can i evaluate whether my test array is equal to my static constant DEFAULT_ARRAY? shouldn't my output be returning true?
public class myClass extends Sprite
{
private static const DEFAULT_ARRAY:Array = new Array(1, 2, 3);
public function myClass()
{
var test:Array = new Array(1, 2, 3);
trace (test == DEFAULT_ARRAY);
}
//traces false
© Stack Overflow or respective owner