In the following code, variable ss and tt are declared using one statement, so rewrite this declaration for ss and tt using two statements. Moreover, what will be the output of the following code? //...


In the following code, variable ss and tt are declared using one statement, so rewrite this declaration for ss and tt using two statements. Moreover, what will be the output of the following code?


//
Code Start  (function(){   var ss = tt = 512;


})();


document.write("ss defined? " + (typeof ss!== 'undefined')); document.write("tt defined? " + (typeof tt !== 'undefined'));
// Code End



Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here