'*' can hold the value undefined.  Object cannot, it can only hold null.

From: [email protected] [mailto:[email protected]] On Behalf 
Of luvfotography
Sent: Tuesday, December 23, 2008 9:05 AM
To: [email protected]
Subject: [flexcoders] What is '*' in class type?


Hi, I saw this in someone's code:

public function parseResult( result:*):Array {

if( result is XML || result is XMLList ) {
. . . .
...

what is the '*' , is this the same as (result:object) ?
where result can be any type of object?

Reply via email to