In javascript, Line Feed and Carriage Return behaves similarly.
Which one to use and when?
OR
Can it be used alternatively?
Unicode Characters:
<script>
Line Feed: alert("Hello\u000A
Carriage \u0009Return: World");\u000D
Code:
<script>
alert("Hello \x0D0A\u000A World"World - <LF>");
alert("Hello \u000D World"World - <CR>");
</script>