By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,939 Members | 1,684 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,939 IT Pros & Developers. It's quick & easy.

Array Members

P: 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
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
@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.