Assuming the s.concat() is a typo, I think the reason for the output is that, after concatenation, you don't assign its value to anything.
jose chiramal wrote:this object gets created but gets lost/abandoned , why so ?
The object gets lost because you don't assign it to anything.