I am trying to join a single string Blake Price
together, so remove the space " "
in between the first and last name (BlakePrice
). Are you even able to join a single string in an array?
function openprofile(user) {
console.log(user)
var userarray = [user]
var usernamejoined = userarray.join('')
console.log(usernamejoined)
}