const myStr = '<a href="http://www.example.com" target="_blank">Link</a>'; you can use var instead_of const