ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 172 - Certified JavaScript Developer I discussion

Report
Export

Given the expressions var1 and var2, what are two valid ways to return the concatenation of the two expressions and ensure it is string? Choose 2 answers

A.
var1 + var2
Answers
A.
var1 + var2
B.
var1.toString ( ) var2.toString ( )
Answers
B.
var1.toString ( ) var2.toString ( )
C.
String (var1) .concat (var2)
Answers
C.
String (var1) .concat (var2)
D.
string.concat (var1 +var2)
Answers
D.
string.concat (var1 +var2)
Suggested answer: B, D
asked 23/09/2024
Yun-Ting Lo
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first