ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 194 - Certified JavaScript Developer I discussion

Report
Export

Refer to the following code:

Which two statement could be inserted at line 17 to enable the function call on line 18?

Choose 2 answers

A.
Object.assign (leo, tony);
Answers
A.
Object.assign (leo, tony);
B.
Object.assign (leo. Tiger);
Answers
B.
Object.assign (leo. Tiger);
C.
leo.roar = () => { console.log('They\'re pretty good!'); );
Answers
C.
leo.roar = () => { console.log('They\'re pretty good!'); );
D.
leo.prototype.roar = ( ) =>( console.log('They\'re pretty good!'); };
Answers
D.
leo.prototype.roar = ( ) =>( console.log('They\'re pretty good!'); };
Suggested answer: A, C
asked 23/09/2024
Daniel Hernandez Villar
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first