| [C] Help with each() function | |
|---|---|
| Tweet Topic Started: Sep 22 2015, 12:47 AM (204 Views) | |
| Flash | Sep 22 2015, 12:47 AM Post #1 |
![]() ![]()
|
So I'm creating my own each() function which lets you iterate over stuff in JavaScript. I've done strings, but arrays are giving me a bit of trouble. Here's my code...
Any help in figuring out why my code for iterating over arrays won't work? Edit: Oh, and now my code doesn't work with alert() but it does with console.log(), document.write(), etc. ![]() Edit #2: Fixed. isArray is a method, so it should be isArray(). However, alert() still doesn't work... Edit #3: Meh, doesn't really matter, since I only use alert() for quick debugging, anyway, so, go ahead and mark this as solved. ![]() Edited by Flash, Sep 22 2015, 05:18 AM.
|
| |
Off
Profile |
Quote Top
|
| -The- | Sep 22 2015, 03:45 PM Post #2 |
|
#the { display: all; }
![]()
|
Based on Edit #3 I'll close this, but users can still comment if they wish within this topic. |
|
-The- | Foundation Manager Skype: JamesAdams1001 | PM me | Ask Me Anything Suggest Anything. Ask Anything. Foundation. ![]() | |
Off
Profile |
Quote Top
|
| -The- | Sep 22 2015, 03:45 PM Post #3 |
|
#the { display: all; }
![]()
|
Support Issue Resolved! This support request has been resolved and has been marked as complete. This is only to help sort the forum, the topic will remain open in case you experience more issues with this topic. If you have another support request with another issue, please post a new topic. -The- l Foundation Staff |
|
-The- | Foundation Manager Skype: JamesAdams1001 | PM me | Ask Me Anything Suggest Anything. Ask Anything. Foundation. ![]() | |
Off
Profile |
Quote Top
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Support Zone · Next Topic » |













7:08 PM Jul 11









