Table of Contents

About

hyphen is a character known as the minus.

Unicode

In unicode, the hyphen has the code point cldr/utility/character.jsp

console.log('-'.charCodeAt(0).toString(16));

Hyphen vs Dash

The difference between a hyphen and a dash are difficult to compare.

In this case, if you are not sure, you should compare the characters