in js file i wrote function to return string and calling this function is script tag inside HTML file
function getExp()
{
var exp = "]]><!\\[CDATA\\[";
return exp;
}
but its returning
]><!\[CDATA\[
what is the issue why string is not returned by function as it is ?