Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
How to space an output
In JS, if I want a concatenated output to have a space, how shout I do it? My example: variable oneGoal {//code} console.log (āWhat is yourā + oneGoal) Output: What is yourobjective Expected output: What is your objective How can I put a space between āyourā and āobjectiveā?
1 Resposta
0
Just put a space after your in first string
"What is your "+oneGoal