AMA University Answers
Login
Register
AMA OED
Courses
IT
IT-6303
What is the result of the scri...
What is the result of the script below? <script> var greeting; var time = 10; if (time < 10) { greeting = "Good morning"; } else if (time < 20) { greeting = "Good day"; } else { greeting = "Good evening"; } documentwrite(greeting); </script>
Good day
Correct
Similar IT-6303 questions
Which of the following is a valid name for an array?
Which of these would be valid as the first line of a for loop?
What is the result of the script below? <script> var n = ["Maria", "Isabella", "Georgina"]; var newn...
What is the result of the script below? <script> var n = ["Maria", "Isabella", "Georgina"]; nshift()...
Which of the following variable declarations uses a variable with a valid variable name in JavaScrip...
Which of the following is not the file to access if you want to change your server's time?