Notes on Java, Solaris, PHP, LDAP…

December 4, 2007

Surprises of Flex operators

Filed under: Uncategorized — negev @ 7:17 pm
Tags:

Flex operator == is a funny one. You won’t get much info on its behaviour in Flex docs. But it turns out that

  • it compares Strings by value
  • but it compares arrays by reference
    • the same for ‘non-primitive objects’ (never mind the non-sense) – compared by reference
Advertisements

1 Comment »

  1. nothing in detail.very poorly illustrated.

    Comment by asd — January 24, 2008 @ 9:28 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: