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
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here