The carriage return (CR) is a control character.
It:
It's the 14 character of the character set ASCII (and therefore also unicode)
You can get it with a code point function passing:
See its definition on Unicode (#x000D).
String.fromCodePoint(13);
chr(13)
In regular expression, the carriage returns is represented with \r.