« Untyped Variables | Main | The ... Parameter »

The Delete Operator

The delete operator only works on properties of objects.
dynamic class Test{}
var myTest:Test = new Test();
function myFunc(){};
delete myFunc; // no effect

Function expressions are not available before they are defined.

expression(); // run-time error
var expression:Function = function(){}

Post a comment