Subject: Syntax question
Posted By: phungleon Post Date: 11/13/2003 5:01:46 PM
Hi All,

I am a beginner in Javascript, and I have been reading through some codes developed by some programmers.  I notice there are some very common codes that they tense to use, but I don't understand them.  Please help explain.  Thank you.  Here they are:

What is the purpose of this? (especially the second line: var i=0....)
x = x - 1
for (var i = 0; i <= x; i++)

I know this one declars a variable, but how come they separate "script_name, copyright, email" with commas?
var set_up_var = doall(script_name, copyright, email)



Go to topic 6460

Return to index page 1006
Return to index page 1005
Return to index page 1004
Return to index page 1003
Return to index page 1002
Return to index page 1001
Return to index page 1000
Return to index page 999
Return to index page 998
Return to index page 997