Use this to convert text into a variable
If you've ever tried to make some normal text containing characters like '
into a
JavaScript variable, you will know how frustrating it can be when you miss one, or you miss
a \
or a line break or a </script>
tag. Well, let this script do it for you.
To see the script license and check details like browser compatibility, use the links on the navigation panel at the top of this page.
The output produced by this script should be usable in all JavaScript supporting browsers.