Page 1 of 1

1. Can we use JavaScript to create objects? Yes No 2. Can we use JavaScript to generate dynamic web pages at the client

Posted: Sun May 15, 2022 12:30 pm
by answerhappygod
1. Can we use JavaScript to create objects?
Yes
No
2. Can we use JavaScript to generate dynamic web pages at the
client side?
Yes
No
3. Which of the following sorts array in a descending
order?
Numbers = [ 7, 23, 6, 74];
Numbers.sort(function(a,b) {return a-b})
Numbers.sort(function(a,b) {return b-a})
None of the above
4. A JavaScript variable name must begin with a $ sign.
5. What JavaScript method can be used to send a form for
validation prior to submitting it?
onClick
onsubmit
onload
None of the above