Final
This commit is contained in:
RobinNixon
2020-12-10 13:51:13 +00:00
parent 3aeeb4477e
commit 53063593e3
1127 changed files with 0 additions and 0 deletions
+23
View File
@@ -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>