Algorithm Question?

Algorithm Question?


When adding two strings together are they automatically concatenated?



would the output be?

bobjoe or bob, joe


answer is left to right


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


Thank you kindly:) I appreciate your humble answer


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


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


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


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