SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : Dynamic HTML :

Previous DiscussionNext Discussion
 who can tell me what this does?

Without trying it, who can tell me what this does?

<script type="text/javascript">
var n = 1;
for (var i=0; i<n; n++) {
    alert('n='+n);
    continue;
}
</script>

Started By frumbert on Jan 18, 2007 at 5:04:33 PM

7 Response(s) | Reply

Earlier Replies | Replies 2 to 7 of 7 | Later Replies
Goto Page: 1
Monte on Jan 18, 2007 at 6:57:22 PM (# 2)

It infinitely alerts you to the incremented values of n??


MHenke on Jan 19, 2007 at 4:56:14 AM (# 3)

It depends.
If you print it out and send it to your grandma, it may causes some confusion (depending on her JS knowledge).
Taken as input for a proper hash function, it may provides you with the right bonus number for the weekend lottery.
Several other fields of application are imaginable.


ctcrmcou on Jan 19, 2007 at 5:42:02 AM (# 4)

No, it does what it is supposed to do - forces you to blow IE away in the task manager.


cdrom600 on Jan 20, 2007 at 2:51:13 PM (# 5)

I think all the three responses so far are correct.
Although I haven't tried it, I think it would force you to blow away any browser (not just IE) using the task manager...correct?


ctcrmcou on Jan 21, 2007 at 3:53:12 PM (# 6)

So what's the point of the question.


cdrom600 on Jan 21, 2007 at 6:46:25 PM (# 7)

> So what's the point of the question.
I was wondering that, too.


Earlier Replies | Replies 2 to 7 of 7 | Later Replies
Goto Page: 1

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2004 InsideDHTML.com, LLC. All rights reserved.