Skip to content

Latest commit

 

History

History
73 lines (64 loc) · 2.77 KB

n1ba.md

File metadata and controls

73 lines (64 loc) · 2.77 KB

Stars Badge Forks Badge Pull Requests Badge Issues Badge GitHub contributors Visitors

Don't forget to hit the ⭐ if you like this repo.

JavaScript: Fundamental

Answer: Set B

  1. d) All of the above
  2. c) // Comment
  3. b) "4"
  4. a) String
  5. c) const
  6. b) false
  7. c) function myFunction() {}
  8. b) To execute a function when an event occurs
  9. a) 5
  10. c) break
  11. a) Document Object Model
  12. d) getElementById()
  13. b) To handle runtime errors
  14. a) "undefined"
  15. a) React
  16. a) object.property
  17. b) 5
  18. a) toLowerCase()
  19. a) push()
  20. d) "number"
  21. a) shift()
  22. a) To delay the execution of a function
  23. a) "105"
  24. c) onclick
  25. a) To change the HTML content of an element
  26. b) "10.00"
  27. a) Array.isArray(variable)
  28. a) To convert a string to an integer
  29. b) "22"
  30. a) pop()
  31. a) To select the first element that matches a CSS selector
  32. b) false
  33. a) array.length
  34. a) To convert a string to a floating-point number
  35. c) 15
  36. d) All of the above
  37. b) false
  38. d) pop()
  39. a) To convert a string to uppercase letters
  40. b) 1
  41. a) array[0]
  42. a) To convert a string to an array of substrings
  43. a) 3
  44. a) removeEventListener()
  45. a) To generate a random number between 0 and 1
  46. b) "15"
  47. a) concat()
  48. a) To format a number with a specified number of decimal places
  49. b) false
  50. b) checkbox.checked

Contribution 🛠️

Please create an Issue for any improvements, suggestions or errors in the content.

You can also contact me using Linkedin for any other queries or feedback.

Visitors