Learn JavaScript Programming
And like regular functions, we can only return one value. Note that in the second invokation I passed the black string parameter as the color argument, but no age. Template literals are also great because they provide an easy way to interpolate variables and expressions into strings. Another way to define strings is to use …