Question: Consider the following JavaScript fragment, located somewhere between and document.writeIn ( ) ; N = 3 ; while (N > 0) { document.writeIn (
Consider the following JavaScript fragment, located somewhere between
and
document.writeIn ("
| " , N, " |
//-->
_______________________________________________________________________________________________________________________________________________________
Question:
A. What HTML code is written out into the current document when the JavaScript fragment runs? (NOT what appears on the screen!)
B. What appears on the screen when the result of part A is rendered by the browser?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
