Final
Final
This commit is contained in:
-17
@@ -1,17 +0,0 @@
|
||||
<script>
|
||||
haystack = new Array()
|
||||
haystack[4] = "Needle"
|
||||
haystack[11] = "Needle"
|
||||
haystack[17] = "Needle"
|
||||
|
||||
for (j = 0 ; j < 20 ; ++j)
|
||||
{
|
||||
if (haystack[j] == "Needle")
|
||||
{
|
||||
document.write("<br>- Found at location " + j + "<br>")
|
||||
continue
|
||||
}
|
||||
|
||||
document.write(j + ", ")
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user