0

For example, we have code:

const a = '123'.split('').reverse().join('_');

We can do the same, if we write:

const a = '123'.split``.reverse().join`_`;

I want to find out when this feature appeared?

With ES6 string templates or other?

Does it work in all modern browsers? (I know it works in chrome)

Can not find anything, because the feature is exotic or a trick.

Please help.

0 Answers0