471,887 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,887 software developers and data experts.

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 1587
Dormilich
8,658 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
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.