A

Admin • 833.24K Points
Coach

Q. In JSX, how do you write a JavaScript expression?

  • (A) With double quotes
  • (B) With parentheses
  • (C) With square brackets
  • (D) With curly braces
  • Correct Answer - Option(D)
  • Views: 33
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin

JSX expressions are enclosed within curly braces.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.