Mark As Completed Discussion

Are you sure you're getting this? Click the correct answer from the options.

Which statement is true about switch statements in JavaScript?

Click the option that best answers the question.

  • They can only be used with string values
  • They can handle multiple conditions using the switch keyword
  • They always require a default case
  • They are an alternative to if-else statements