How do I use the non-breaking space special character in a variable?
-
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 -
let txt = `or text and \ xA0other text`;
Micah Chandler
1 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!