The undefined value represents the absence of data for variables, parameters, and return values without a specified type annotation. : Undefined : Data Type Flash / Flex / ActionScript examples
The undefined value represents the absence of data for variables, parameters, and return values without a specified type annotation.
package{ import flash.display.Sprite;
public class Main extends Sprite{ public function Main(){ var info = new Object( ); info.city = "Toronto"; info.country = undefined; trace(info.language); // Displays: undefined
} } }
Related Scripts with Example Source Code in same category :