How do I use the non-breaking space special character in a variable?

  • 0
    How to use the non-breaking space special character in a variable?

    let txt = `or text and $ {& amp; nbsp;} more text`;
    JavaScript Brielle Castro, Feb 19, 2019

  • 1 Answers
  • 0
    let txt = `or text and \ xA0other text`;
    Micah Chandler

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!