Flash / Flex / ActionScript/Array/delete
Removing Elements with the delete Operator
<source lang="java">
package{
import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var list = ["a", "b", "c"]; trace(list.length); // 3 delete list[2]; trace(list.length); // 3 } }
}
</source>