ActionScript Comparing Arrays

后端 未结 3 1648
既然无缘
既然无缘 2021-01-05 15:26

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          


        
3条回答
  •  时光取名叫无心
    2021-01-05 16:02

    Dude, use the mx.utils.ObjectUtil... the creators of actionscript have already thought about this.

    ObjectUtil.compare(this.instructions, other.instructions) == 0;
    

提交回复
热议问题