Given the string 'Hello ?, welcome to ?' and the array ['foo', 'bar'], how do I get the string 'Hello foo, welcome to bar' in a single line of code with JavaScript (possibly with jQuery, Underscore, etc.)?
Given the string ‘Hello ?, welcome to ?’ and the array [‘foo’, ‘bar’] ,
Share
1 Answer