For our application we need to use new feature template string
.
var verLongKey= `834r845784576485
y84ery5845y485yu843
483y53485684576845
jhu87843647356756745==457485,mh
ererthe8t0998785==ery8`;
But old browsers(like android default browsers) don't support template string.
How can I get polyfill for this feature?
Tried babel
. We got this polyfill working for all features but template string
.
Currently using modernizr
to detect support and show alert to use other browser.
This approach is annoying for users. How can i get some polyfill to make this work on the non supporting browsers?
What made us this template strings
.
The problem is i can't use these tools(trceur
,babel
) as this file is generated on the production from puppet
. There is no way we will run these transpilers there. want to add some polyfill on the browser side. the key contains some \n
characters in it need to preserve those. I want some polyfill so, i can include before the configs js file.