Given the following code:Let x =(`15' + 10)*2;What is the value of a?
Answer(s): A
Refer to the following code:01 function Tiger(){02this.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 //Insertcode here18 leo.roar();Which two statements could be inserted at line 17 to enable the function call on line 18? Choose 2 answers.
Answer(s): A,C
Which statement accurately describes an aspect of promises?
Given the code below:FunctionmyFunction(){A =5;Var b =1;}myFunction();console.log(a);console.log(b);What is the expected output?
Answer(s): B
Which two console logs outputs NaN ?Choose 2 answers
Answer(s): B,C
Post your Comments and Discuss Salesforce Certified JavaScript Developer I exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the Certified JavaScript Developer I content, but please register or login to continue.