469,306 Members | 2,053 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

Array Members

10
I am not sure, but are the items in an array also called members? I have a question and wasn't sure. Does this array have 4 members? Not totally sure what the quotes are used for or if these are counted the same as the other 2 .htm items.

FrameArray=new Array("","","frame1.htm","frame2.htm")
May 4 '09 #1
1 1534
Dormilich
8,651 Expert Mod 8TB
@jock1up
since an array in javascript is an object, you could call them members, but then you have to consider all members (esp. the length property). for most cases it's better to refer to the items as items.

@jock1up
everything between quotes is a string. if there's nothing between the quotes it's an empty string.
May 5 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

67 posts views Thread by Ike Naar | last post: by
10 posts views Thread by Adam Warner | last post: by
3 posts views Thread by Eric Laberge | last post: by
7 posts views Thread by Adam Suszeck | last post: by
3 posts views Thread by GrkEngineer | last post: by
4 posts views Thread by gg9h0st | last post: by
reply views Thread by Adam Warner | last post: by
4 posts views Thread by Santosh Nayak | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.