Checkpoint 5.23.1.
Create a function
joinStrings(str1, str2)
that takes two different strings as parameters, str1
and str2
, and returns them as one string with str1
before str2
. For example, joinStrings('he','llo')
returns hello
.