hypen, dashes ascii codes
var hyphen = "-".charCodeAt(0); //45 var dash = "–".charCodeAt(0); //8211 console.log(hyphen, dash);