Evaluate 8 % 7
Blog
How many elements are in an array created with the following…
How many elements are in an array created with the following loop? var myArray = new Array; for (k = 0; k , 8; k++) myArray[k] = k;
Which would be used to have a JavaScript function named hell…
Which would be used to have a JavaScript function named hello() execute before the user views a web page?
Which of the following will set the variable num to the valu…
Which of the following will set the variable num to the value of 10 if num = 10.3625?
An array in JavaScript is considered:
An array in JavaScript is considered:
Which of the following will set the variable num to the val…
Which of the following will set the variable num to the value of 10 if num = 10.3625?
What will display after the following code is run if name =…
What will display after the following code is run if name = “Morris”? if(name > “Joe”) document.write(“Morris is a cat.”); else document.write(“Joe rules!”);
Which is equivalent to (X > 5) given that X is a numeric v…
Which is equivalent to (X > 5) given that X is a numeric variable.
Which of the following is not a valid function call?
Which of the following is not a valid function call?
What is the scope of the variable pen on line 6? var pen =…
What is the scope of the variable pen on line 6? var pen = “Bic”; var pencil = “0.7 mm lead”; function writeIt() { document.write(“I have a ” + pen + ” pen.”); pen = “Flair”; document.write(“You have a ” + pen + ” pen.”); var pencil = “0.5mm lead”; document.write(“I prefer pencils with ” + pencil); }