if two arrays are equivalent yet don't point to the same spot in memory, an equality operation returns false:
package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var letters1:Array = ["a", "b", "c", "d"];
var letters2:Array = ["a", "b", "c", "d"];
trace(letters1 == letters2); // Displays: false
}
}
}
Related examples in the same category