Question: / * * This should build a sentence and display it in the main browser window. * / var myStr = ' ' ; first
This should build a sentence and display it in the main browser window.
var myStr ;
firstpart 'I like to eat';
function GetSentence
console.logstarting function';
myStr firstpart;
console.logso far so good';
for var i ; i ; i
var x apples "bananas", 'cookies';
myStr myStr xi;
$body
findh
textmyStr;
console.logmyStr;
GetSentence;
what is the output of the program
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
