Which of the following will set the variable num to the value of 10 if num = 10.3625?
Blog
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); }
Given that Y is a numeric variable, which of the following…
Given that Y is a numeric variable, which of the following is NOT equivalent to: (Y
Which of the following is NOT a valid variable name?
Which of the following is NOT a valid variable name?
Which is not a method of the Date() object?
Which is not a method of the Date() object?
Which of the following will generate a random number between…
Which of the following will generate a random number between 1 and 6?
In the code given, which are the parameters and which are th…
In the code given, which are the parameters and which are the arguments? function product(x.y); { return (x * y); } myNum = product(5, 10);