21. |
How do you write "Hello World" in an alert box?
|
||||||||
Answer:
Option (a) |
22. |
How do you create a function in JavaScript?
|
||||||||
Answer:
Option (b) |
23. |
How do you call a function named "myFunction"?
|
||||||||
Answer:
Option (b) |
24. |
How can you add a comment in a JavaScript?
|
||||||||
Answer:
Option (b) |
25. |
How do you round the number 7.25, to the nearest integer?
|
||||||||
Answer:
Option (a) |
26. |
How can you detect the client's browser name?
|
||||||||
Answer:
Option (c) |
27. |
Output?
|
||||||||
Answer:
Option (c) |
28. |
Is it possible to nest functions in JavaScript?
|
||||
Answer:
Option (a) |
29. |
Output?
|
||||||||
Answer:
Option (b) |
30. |
What is mean by "this" keyword in javascript?
|
||||||||
Answer:
Option (a) |