Skip to content
Advertisement

strings are not combining at a right formate

I have a SQL string and two functions which have string returns. I’m trying to combine them like that:

JavaScript

but functions are not printing in the right place and they all just go to the first not in parentheses! the result is like: Result

My function is :

JavaScript

I tried using variables even though the result was the same.

Advertisement

Answer

Just return the result, don’t print it:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement