Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q382

Feedback on: irt.org FAQ Knowledge Base Q382

Sent by DMS on Thursday November 29, 2007 at 15:19:15 - feedback #5163

Worth:
Not worth reading

Length:
Too short

Technical:
Not technical enough

Comments:
You can't repopulate the array after setting it to null. It's no longer an array.

This seems to work, but I have no idea if it is the "best way"
myArray = new Array();

Are there any javascript gurus out there that can answer the original question about the *best way*?




Sent by Michael Torres on Thursday November 29, 2007 at 21:39:14 - feedback #5166

Worth:

Length:

Technical:

Comments:
This actually seems to destroy the array completely rather than clearing it.




©2018 Martin Webb