jQuery jQuery and AJAX Question #22030
Single Choice Moderate

QTo remove the unwanted whitespace, use __________

ID: #22030 jQuery and AJAX 65 views
Question Info
#22030Q ID
ModerateDifficulty
jQuery and AJAXTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A remove()
  • B trim()
  • C space()
  • D whiteSpace()
Correct Answer

Explanation

To remove unwanted whitespace from a string, you would typically use the trim() method. So, the correct answer is:


trim()

Share This Question

Challenge a friend or share with your study group.