University of Sydney_INFO1003_Foundamental of IT_2012 Semester 2
26/08/2012
Exercise
Q.5 What is the output of the following JavaScript code?<script> document.write(“<u>INFO1003</u>”);</script>
23
Exercise
Q.6 Trace the scriptvar a=“5”; 5; var b=“6”; var c=‘7’; c= b+ a; b=‘c+ a’; a= b+ a; What is the final value of a: ___________ What is the final value of b: ___________ What is the final value of c: ___________24