Saved Bookmarks
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is purpose of onError event handler in JavaScript? |
| Answer» | |
| 2. |
How to handle exceptions in JavaScript? |
| Answer» | |
| 3. |
What is Number object in JavaScript? |
| Answer» | |
| 4. |
What is Date object in JavaScript? |
| Answer» | |
| 5. |
How to print a web page using javascript? |
| Answer» | |
| 6. |
How to redirect a url using JavaScript? |
| Answer» | |
| 7. |
How to delete a Cookie using JavaScript? |
| Answer» | |
| 8. |
How to read a Cookie using JavaScript? |
| Answer» | |
| 9. |
How to create a Cookie using JavaScript? |
| Answer» | |
| 10. |
Can you access Cookie using javascript? |
| Answer» | |
| 11. |
What typeof returns for a null value? |
| Answer» | |
| 12. |
How typeof operator works? |
| Answer» | |
| 13. |
What are the variable naming conventions in JavaScript? |
| Answer» | |
| 14. |
Which built-in method returns the string representation of the number's value? |
| Answer» | |
| 15. |
Which built-in method returns the calling string value converted to upper case? |
| Answer» | |
| 16. |
Which built-in method returns the calling string value converted to lower case? |
| Answer» | |
| 17. |
Which built-in method returns the characters in a string beginning at the specified location? |
| Answer» | |
| 18. |
Which built-in method sorts the elements of an array? |
| Answer» | |
| 19. |
Which built-in method reverses the order of the elements of an array? |
| Answer» | |
| 20. |
Which built-in method adds one or more elements to the end of an array and returns the new length of the array? |
| Answer» | |
| 21. |
Which built-in method removes the last element from an array and returns that element? |
| Answer» | |
| 22. |
Which built-in method returns the length of the string? |
| Answer» | |
| 23. |
Which built-in method returns the index within the calling String object of the first occurrence of the specified value? |
| Answer» | |
| 24. |
Which built-in method calls a function for each element in the array? |
| Answer» | |
| 25. |
Which built-in method combines the text of two strings and returns a new string? |
| Answer» | |
| 26. |
Which built-in method returns the character at the specified index? |
| Answer» | |
| 27. |
Give an example of closure? |
| Answer» | |
| 28. |
What is closure? |
| Answer» | |
| 29. |
What is callback? |
| Answer» | |
| 30. |
Which type of variable among global and local, takes precedence over other if names are same? |
| Answer» | |
| 31. |
What are the valid scopes of a variable in JavaScript? |
| Answer» | |
| 32. |
What is the purpose of 'this' operator in JavaScript? |
| Answer» | |
| 33. |
How can you get the reference of a caller function inside a function? |
| Answer» | |
| 34. |
How can you get the total number of arguments passed to a function? |
| Answer» | |
| 35. |
How can you get the type of arguments passed to a function? |
| Answer» | |
| 36. |
What is arguments object in JavaScript? |
| Answer» | |
| 37. |
Can you pass a anonymous function as an argument to another function? |
| Answer» | |
| 38. |
Can you assign a anonymous function to a variable? |
| Answer» | |
| 39. |
How to define a anonymous function? |
| Answer» | |
| 40. |
How many types of functions JavaScript supports? |
| Answer» | |
| 41. |
What is a named function in JavaScript? How to define a named function? |
| Answer» | |
| 42. |
How to read elements of an array in JavaScript? |
| Answer» | |
| 43. |
How can you create an Array in JavaScript? |
| Answer» | |
| 44. |
How can you read properties of an Object in JavaScript? |
| Answer» | |
| 45. |
How can you create an Object in JavaScript? |
| Answer» | |
| 46. |
Is JavaScript a case-sensitive language? |
| Answer» | |
| 47. |
What are disadvantages of using JavaScript? |
| Answer» | |
| 48. |
What are the advantages of using JavaScript? |
| Answer» | |
| 49. |
Name some of the JavaScript features. |
| Answer» | |
| 50. |
What is JavaScript? |
| Answer» | |