What - means
A keyboard hyphen is not every kind of dash.
For typeset text, choose the mark for the job: a hyphen joins words; dedicated dashes mark ranges or sentence breaks; a mathematical minus handles subtraction.
In basic JavaScript regular-expression character classes, placement changes meaning: [a-z] matches a letter in a range, while [-az] matches a literal hyphen, a or z.
Ordinary punctuation, not an emoji or a tone signal by itself.
Do not prettify commands or code by replacing - with a typographic dash or minus.
Don't confuse it with
3Questions people ask
1Why does - show as a box on some devices?
Because that device's fonts have no glyph for it. The character is still correct and still copies correctly — the box is a missing glyph, not a broken character.
How to type -
-\002DCodes and encoding1 code points
A visible symbol can contain several code points. JS .length counts UTF-16 units; UTF-8 counts bytes.

