Javascript Code Converts Line Breaks to BR or Space

Simple One Line Javascript Code to Easily Convert Javascript Line Breaks \r or \n or \r\n to Either <br> or Space

Home Short:
S
H
A
R
E