This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
* @example parameterizedString("my name is %s1 and surname is %s2", "John", "Doe"); | |
* @return "my name is John and surname is Doe" | |
* | |
* @firstArgument {String} like "my name is %s1 and surname is %s2" | |
* @otherArguments {String | Number} | |
* @returns {String} | |
*/ | |
export const parameterizedString = (...args) => { | |
const str = args[0]; |