Q:

What will be the output of the following code snippet
const str1=’Geeksfor’
const str2=’Geeks’
const str3=str1.concat(str2)
console.log(str3)

(A) GeeksforGeeks
(B) GeeksGeeksfor
(C) undefined
(D) None of the above

WEB TECHNOLOGIES QUESTIONS

All Replies

Viewing 1 replies (of 1 total)

Viewing 1 replies (of 1 total)

  • You must be logged in to reply to this topic.