merge two strings with alternate characters javascript
var m = (a, b) => a.length ? [a[0], ...m(b, a.slice(1))] : b;
var string1 = "SCE ESG!";
var string2 = "ERTMSAE";
var mix = m(string1, string2);
console.log(mix.join(''));
Also in JavaScript:
- parsley custom error message
- openssl error Subject does not start with '/'
- javascript truncate array
- jquery only number allowed to 10 digit
- How can I get or extract some string part from url jquery
- check equality numbers javascript
- convert json to 2d array
- promise catch
- javascript apexcharts to base 64 image
- how to find out which version of React
- Uncaught TypeError: jQuery(...).jqGrid is not a function
- copy link to clipboard
- navlink activestyle not working
- find length of longest string in array javascript
- node js read file from s3 bucket
- jason rpc reactjs
- dynsmic calss in react add
- jquery disable enter key submit
- js get file name from path
- dropdown option selection change event in jquery
- use jsx html
- .map function
- json enconde
- get element by id in javascript