1.

What will be the output of the following code snippetconst str1=’GeeksforGeeks’const str2=str1.slice(2,5)console.log(str2)(A) eks(B) eksf(C) Geek(D) Geeksf

Answer»


Discussion

No Comment Found

Related InterviewSolutions