Implement a zipStrings function in zip-strings.js with the following requirements in mind.
- The
zipStringsfunction receives two string parameters - The
zipStringsfunction should return one string where the characters of both parameters are merged using the zip procedure (Reißverschlussverfahren) - Merge the strings as shown in the
Zip Strings Examplecode
console.log(zipStrings("abc", "123")); // "a1b2c3"
console.log(zipStrings("abc", "1")); // "a1bc"
console.log(zipStrings("a", "123")); // "a123"
console.log(zipStrings("", "123")); // "123"
console.log(zipStrings("abc", "")); // "abc"