# Algorithm Question?

Algorithm Question?
0

#1

When adding two strings together are they automatically concatenated?

Example

console.log(‘bob’+‘joe’);

would the output be?

bobjoe or bob, joe

#2

answer is left to right
bobjoe

#3

If only there were a way we could test that. I guess we’ll never know

#4

Thank you kindly:) I appreciate your humble answer

#5

haha thanks actually led me to using console i completely forgot just starting out btw i appreciate your humor! thanks for the help

#6

it will be bobjoe and if u want to have space in between then write 'bob ’ +‘joe’;

#7

Using a comma instead of a “+” will also insert a space.

#8

Not unless you have the statement like this: `console.log(‘bob’+','+‘joe’);`