|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#56. Which one of the following designated lines has incorrect code? // initialize the variables secsPerMin = 60; //<LINE A> var mins PerHour = 60; var hoursPerDay = 24; var daysPerYear + 365; // perform calculations var secsPerDay = secsperMin * minsPerHour * hoursPerDay; //<LINE B> var secsPerYear = secsPerDay * daysPerYear document.writeln("<b> There are"); document.writeln(secsperYear); //<LINE C> document.writeln("seconds per year.</b><p>"; //<LINE D>
Show comments for this question (0)
Add comments
Link to this question
|
|
#59. Marjorie created the following Java Script code segment to check whether data had been entered into a required field. Var frm=document.forms[0]; If(frm. LastName. Value <missing code> **)
Which one of the following operators should she have used for the <missing code>?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.132
|
Server date 00:36 08-01-2009
|
Developed by Zip © 2006
|
|
 |
|
|