Question 1: How does a while loop start?
Answer: while (i <= 10; i++)
Question 2: How do you insert a comment that has more than one line?
Answer: /* This comment has
more than one line */
Question 3: How do you find the number with the highest value of a and c?
Answer: Math.max(a,c)
Question 4: What is the correct JavaScript syntax for opening a new window called "Tutors"
Answer: Tutors = window.open("http://tutor.com")
Question 5: How can you detect the client's browser name
Answer: navigator.appName
Let me know if this helped ;)
Top comments (0)