Final
Final
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
<script>
|
||||
numbers = []
|
||||
|
||||
for (j=1 ; j<6 ; ++j)
|
||||
{
|
||||
if (j == 2 || j == 5)
|
||||
{
|
||||
document.write("Processing 'todo' #" + j + "<br>")
|
||||
}
|
||||
else
|
||||
{
|
||||
document.write("Putting off 'todo' #" + j + " until later<br>")
|
||||
numbers.push(j)
|
||||
}
|
||||
}
|
||||
|
||||
document.write("<br>Finished processing the priority tasks.")
|
||||
document.write("<br>Commencing stored tasks, most recent first.<br><br>")
|
||||
|
||||
document.write("Now processing 'todo' #" + numbers.pop() + "<br>")
|
||||
document.write("Now processing 'todo' #" + numbers.pop() + "<br>")
|
||||
document.write("Now processing 'todo' #" + numbers.pop() + "<br>")
|
||||
</script>
|
||||
Reference in New Issue
Block a user