What is it called when function arguments are passed through plus?
-
// Example 2
pbql.run (
'Create contact Gregory;' +
'Create a contact Vasily;' +
'Create contact Innokenty;' +
'Show name for contacts where there is u;'
)
How to make it work, but T_T
if I have a regular function, but in tests this is what I need to parse the request?JavaScript Aden Murphy, Jan 7, 2019 -
This one parameter is a string.
"+" is a concatenationHanna Potter -
This one argument is a string.Anonymous
-
all this will add up, and just one line will be transmitted.
console.log( 'Создай контакт Григорий;' +
'Создай контакт Василий;' +
'Создай контакт Иннокентий;' +
'Покажи имя для контактов, где есть ий;' )
// "Создай контакт Григорий;Создай контакт Василий;Создай контакт Иннокентий;Покажи имя для контактов, где есть ий;"Anonymous -
concatenationMolly Rowe
4 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!