JAVASCRIPT-DEVELOPER-I Web TestEngine demo

Exit VCEDump JAVASCRIPT-DEVELOPER-I Salesforce Certified JavaScript Developer (JS-Dev-101)
Question 21 of 34
0% complete
Q21 Multiple choice

Refer to the following code:

01 function Tiger(){

02 this.Type = `Cat';

03 this.size = `large';

04 }

06 let tony = new Tiger();

07 tony.roar = () =>{

08 console.log(`They\'re great1');

09 };

11 function Lion(){

12 this.type = `Cat';

13 this.size = `large';

14 }

16 let leo = new Lion();

17//Insert code here

18 leo.roar();

Which two statements could be inserted at line 17 to enable the function call on line 18? Choose 2 answers.

Select all that apply.

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in